Merge "check mode: paunch configs"
This commit is contained in:
commit
0797f537dc
@ -213,17 +213,18 @@
|
|||||||
|
|
||||||
- name: Write docker-container-startup-configs
|
- name: Write docker-container-startup-configs
|
||||||
copy:
|
copy:
|
||||||
content: "{{ docker_config_with_default | to_json }}"
|
content: "{{ docker_config_with_default | to_nice_json }}"
|
||||||
dest: /var/lib/docker-container-startup-configs.json
|
dest: /var/lib/docker-container-startup-configs.json
|
||||||
force: yes
|
force: yes
|
||||||
mode: '0600'
|
mode: '0600'
|
||||||
tags:
|
tags:
|
||||||
- container_startup_configs
|
- container_startup_configs
|
||||||
|
diff: no
|
||||||
|
|
||||||
- name: Write per-step docker-container-startup-configs
|
- name: Write per-step docker-container-startup-configs
|
||||||
copy:
|
copy:
|
||||||
content: "{{ item[1] | to_json }}"
|
content: "{{ item[1] | to_nice_json }}"
|
||||||
dest: "/var/lib/tripleo-config/docker-container-startup-config-{{ item[0] }}.json"
|
dest: /var/lib/tripleo-config/docker-container-startup-config-{{ item[0] }}.json
|
||||||
force: yes
|
force: yes
|
||||||
mode: '0600'
|
mode: '0600'
|
||||||
loop: "{{ docker_config_with_default | dictsort }}"
|
loop: "{{ docker_config_with_default | dictsort }}"
|
||||||
@ -251,7 +252,7 @@
|
|||||||
|
|
||||||
- name: Write kolla config json files
|
- name: Write kolla config json files
|
||||||
copy:
|
copy:
|
||||||
content: "{{ item[1] | to_json }}"
|
content: "{{ item[1] | to_nice_json }}"
|
||||||
dest: "{{ item[0] }}"
|
dest: "{{ item[0] }}"
|
||||||
force: yes
|
force: yes
|
||||||
mode: '0600'
|
mode: '0600'
|
||||||
@ -450,7 +451,6 @@
|
|||||||
--file /var/lib/tripleo-config/hashed-docker-container-startup-config-step_{{ step }}.json
|
--file /var/lib/tripleo-config/hashed-docker-container-startup-config-step_{{ step }}.json
|
||||||
--config-id tripleo_step{{ step }} --managed-by tripleo-{{ tripleo_role_name }}
|
--config-id tripleo_step{{ step }} --managed-by tripleo-{{ tripleo_role_name }}
|
||||||
changed_when: false
|
changed_when: false
|
||||||
check_mode: no
|
|
||||||
register: outputs
|
register: outputs
|
||||||
failed_when: false
|
failed_when: false
|
||||||
no_log: true
|
no_log: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user