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
Sébastien Han 2018-06-28 09:53:03 +02:00
parent 653b483fc3
commit f623997271
6 changed files with 4 additions and 10 deletions

View File

@ -20,7 +20,6 @@
state: started
enabled: yes
daemon_reload: yes
changed_when: false
with_items:
- tcmu-runner
- rbd-target-gw

View File

@ -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'"

View File

@ -16,4 +16,3 @@
state: started
enabled: yes
daemon_reload: yes
changed_when: false

View File

@ -57,4 +57,3 @@
state: started
enabled: yes
daemon_reload: yes
changed_when: false

View File

@ -17,4 +17,3 @@
state: started
enabled: yes
daemon_reload: yes
changed_when: false

View File

@ -30,4 +30,3 @@
state: started
enabled: yes
daemon_reload: yes
changed_when: false