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
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
changed_when: false
|
||||
with_items:
|
||||
- tcmu-runner
|
||||
- rbd-target-gw
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
state: started
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
changed_when: false
|
||||
|
||||
- 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'"
|
||||
|
|
|
@ -15,5 +15,4 @@
|
|||
name: ceph-mgr@{{ ansible_hostname }}
|
||||
state: started
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
changed_when: false
|
||||
daemon_reload: yes
|
|
@ -56,5 +56,4 @@
|
|||
name: ceph-mon@{{ ansible_hostname }}
|
||||
state: started
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
changed_when: false
|
||||
daemon_reload: yes
|
|
@ -16,5 +16,4 @@
|
|||
name: ceph-rbd-mirror@rbd-mirror.{{ ansible_hostname }}
|
||||
state: started
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
changed_when: false
|
||||
daemon_reload: yes
|
|
@ -29,5 +29,4 @@
|
|||
name: "ceph-radosgw@rgw.{{ ansible_hostname }}.service"
|
||||
state: started
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
changed_when: false
|
||||
daemon_reload: yes
|
Loading…
Reference in New Issue