mirror of https://github.com/ceph/ceph-ansible.git
systemd: remove changed_when: false
When using a module there is no need to apply this Ansible option. The module will handle the idempotency on its own. So the module decides wether or not the task has changed during the execution. Signed-off-by: Sébastien Han <seb@redhat.com>pull/2832/head
parent
653b483fc3
commit
f623997271
|
@ -20,7 +20,6 @@
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
changed_when: false
|
|
||||||
with_items:
|
with_items:
|
||||||
- tcmu-runner
|
- tcmu-runner
|
||||||
- rbd-target-gw
|
- rbd-target-gw
|
||||||
|
|
|
@ -62,7 +62,6 @@
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
changed_when: false
|
|
||||||
|
|
||||||
- name: wait for mds socket to exist
|
- name: wait for mds socket to exist
|
||||||
command: "{{ docker_exec_cmd }} sh -c 'stat /var/run/ceph/{{ cluster }}-mds.{{ ansible_hostname }}.asok || stat /var/run/ceph/{{ cluster }}-mds.{{ ansible_fqdn }}.asok'"
|
command: "{{ docker_exec_cmd }} sh -c 'stat /var/run/ceph/{{ cluster }}-mds.{{ ansible_hostname }}.asok || stat /var/run/ceph/{{ cluster }}-mds.{{ ansible_fqdn }}.asok'"
|
||||||
|
|
|
@ -16,4 +16,3 @@
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
changed_when: false
|
|
||||||
|
|
|
@ -57,4 +57,3 @@
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
changed_when: false
|
|
||||||
|
|
|
@ -17,4 +17,3 @@
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
changed_when: false
|
|
||||||
|
|
|
@ -30,4 +30,3 @@
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
changed_when: false
|
|
||||||
|
|
Loading…
Reference in New Issue