Migrate config installation from copy -> template
This migrates installation of config files from using 'copy' to 'template', allowing downstream users of the role the ability to carry a template in their playbooks and have it easily rendered out simply by overriding the zuul_file_*_dest variables. Note, this omits layout.yaml for the time being Depends-on: I32cc11901bddd03125e1c4ce6f246d811f414cba Change-Id: I9f5890a54ded2b0169aa76501828e7856e0d6583
This commit is contained in:
parent
6f2367e84c
commit
747f3ba540
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user