Revert use of _glance_first_play_host for post install tasks
run_once can't be replaced with such condition since config files should be put against all groups, and not only api one. Change-Id: I345fcfbab0b7735ae671ff592c8549eb4dd53b02
This commit is contained in:
parent
6a53dd4505
commit
c92707637f
@ -108,7 +108,7 @@
|
|||||||
dest: "{{ item.tmp_f }}"
|
dest: "{{ item.tmp_f }}"
|
||||||
flat: yes
|
flat: yes
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: _glance_is_first_play_host
|
run_once: true
|
||||||
with_items: "{{ glance_core_files }}"
|
with_items: "{{ glance_core_files }}"
|
||||||
|
|
||||||
- name: Copy common config
|
- name: Copy common config
|
||||||
@ -130,7 +130,7 @@
|
|||||||
state: absent
|
state: absent
|
||||||
changed_when: false
|
changed_when: false
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
when: _glance_is_first_play_host
|
run_once: true
|
||||||
with_items: "{{ glance_core_files }}"
|
with_items: "{{ glance_core_files }}"
|
||||||
|
|
||||||
# NOTE(cloudnull): This will ensure strong permissions on all rootwrap files.
|
# NOTE(cloudnull): This will ensure strong permissions on all rootwrap files.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user