diff --git a/tasks/config.yaml b/tasks/config.yaml index ba43a98..6b5478c 100644 --- a/tasks/config.yaml +++ b/tasks/config.yaml @@ -23,9 +23,9 @@ - /etc/zuul - /var/log/zuul -- name: Copy gearman logging file. +- name: Install gearman logging file. become: yes - copy: + template: dest: "{{ zuul_file_gearman_logging_conf_dest }}" group: "{{ zuul_file_gearman_logging_conf_group }}" mode: "{{ zuul_file_gearman_logging_conf_mode }}" @@ -34,9 +34,9 @@ register: zuul_file_gearman_logging_conf notify: Reload zuul-server -- name: Copy launcher logging file. +- name: Install launcher logging file. become: yes - copy: + template: dest: "{{ zuul_file_launcher_logging_conf_dest }}" group: "{{ zuul_file_launcher_logging_conf_group }}" mode: "{{ zuul_file_launcher_logging_conf_mode }}" @@ -45,9 +45,9 @@ register: zuul_file_launcher_logging_conf notify: Reload zuul-launcher -- name: Copy merger logging file. +- name: Install merger logging file. become: yes - copy: + template: dest: "{{ zuul_file_merger_logging_conf_dest }}" group: "{{ zuul_file_merger_logging_conf_group }}" mode: "{{ zuul_file_merger_logging_conf_mode }}" @@ -56,9 +56,9 @@ register: zuul_file_merger_logging_conf notify: Reload zuul-merger -- name: Copy server logging file. +- name: Install server logging file. become: yes - copy: + template: dest: "{{ zuul_file_server_logging_conf_dest }}" group: "{{ zuul_file_server_logging_conf_group }}" mode: "{{ zuul_file_server_logging_conf_mode }}" @@ -67,7 +67,7 @@ register: zuul_file_server_logging_conf notify: Reload zuul-server -- name: Copy layout configuration. +- name: Install layout configuration. become: yes copy: dest: "{{ zuul_file_layout_dest }}" @@ -78,9 +78,9 @@ register: zuul_file_layout notify: Reload zuul-server -- name: Copy zuul configuration. +- name: Install zuul configuration. become: yes - copy: + template: dest: "{{ zuul_file_zuul_conf_dest }}" group: "{{ zuul_file_zuul_conf_group }}" mode: "{{ zuul_file_zuul_conf_mode }}" diff --git a/files/etc/zuul/gearman-logging.conf b/templates/etc/zuul/gearman-logging.conf similarity index 100% rename from files/etc/zuul/gearman-logging.conf rename to templates/etc/zuul/gearman-logging.conf diff --git a/files/etc/zuul/launcher-logging.conf b/templates/etc/zuul/launcher-logging.conf similarity index 100% rename from files/etc/zuul/launcher-logging.conf rename to templates/etc/zuul/launcher-logging.conf diff --git a/files/etc/zuul/merger-logging.conf b/templates/etc/zuul/merger-logging.conf similarity index 100% rename from files/etc/zuul/merger-logging.conf rename to templates/etc/zuul/merger-logging.conf diff --git a/files/etc/zuul/server-logging.conf b/templates/etc/zuul/server-logging.conf similarity index 100% rename from files/etc/zuul/server-logging.conf rename to templates/etc/zuul/server-logging.conf diff --git a/files/etc/zuul/zuul.conf b/templates/etc/zuul/zuul.conf similarity index 100% rename from files/etc/zuul/zuul.conf rename to templates/etc/zuul/zuul.conf