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>
state: started
enabled: yes
daemon_reload: yes
- changed_when: false
with_items:
- tcmu-runner
- rbd-target-gw
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'"
name: ceph-mgr@{{ ansible_hostname }}
state: started
enabled: yes
- daemon_reload: yes
- changed_when: false
+ daemon_reload: yes
\ No newline at end of file
name: ceph-mon@{{ ansible_hostname }}
state: started
enabled: yes
- daemon_reload: yes
- changed_when: false
+ daemon_reload: yes
\ No newline at end of file
name: ceph-rbd-mirror@rbd-mirror.{{ ansible_hostname }}
state: started
enabled: yes
- daemon_reload: yes
- changed_when: false
+ daemon_reload: yes
\ No newline at end of file
name: "ceph-radosgw@rgw.{{ ansible_hostname }}.service"
state: started
enabled: yes
- daemon_reload: yes
- changed_when: false
+ daemon_reload: yes
\ No newline at end of file