added tasks for creating theme properties

This commit is contained in:
dcore94 2021-01-08 17:30:58 +01:00
parent c99f5d33d4
commit bb97251028
1 changed files with 26 additions and 1 deletions

View File

@ -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"