diff --git a/tasks/main.yml b/tasks/main.yml index ad9d918..be6880c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -15,5 +15,30 @@ delegate_to: localhost file: state: directory - dest: "{{ tmpdir }}/{{ theme }}" + dest: "{{ tmpdir }}/src/themes/{{ theme }}" + +- name: Create properties for account + delegate_to: localhost + template: + source: "account/theme.properties.j2" + dest: "{{ tmpdir }}/src/themes/{{ theme }}/account/theme.properties" + +- name: Create properties for admin + delegate_to: localhost + template: + source: "admin/theme.properties.j2" + dest: "{{ tmpdir }}/src/themes/{{ theme }}/admin/theme.properties" + +- name: Create properties for email + delegate_to: localhost + template: + source: "email/theme.properties.j2" + dest: "{{ tmpdir }}/src/themes/{{ theme }}/email/theme.properties" + +- name: Create properties for login + delegate_to: localhost + template: + source: "login/theme.properties.j2" + dest: "{{ tmpdir }}/src/themes/{{ theme }}/login/theme.properties" +