From bb972510284869691138ab9271981b820befae26 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Fri, 8 Jan 2021 17:30:58 +0100 Subject: [PATCH] added tasks for creating theme properties --- tasks/main.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) 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" +