]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
systemd: remove changed_when: false
authorSébastien Han <seb@redhat.com>
Thu, 28 Jun 2018 07:53:03 +0000 (09:53 +0200)
committerSébastien Han <seb@redhat.com>
Thu, 28 Jun 2018 15:54:13 +0000 (17:54 +0200)
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>
roles/ceph-iscsi-gw/tasks/container/containerized.yml
roles/ceph-mds/tasks/containerized.yml
roles/ceph-mgr/tasks/docker/start_docker_mgr.yml
roles/ceph-mon/tasks/docker/start_docker_monitor.yml
roles/ceph-rbd-mirror/tasks/docker/start_docker_rbd_mirror.yml
roles/ceph-rgw/tasks/docker/start_docker_rgw.yml

index cf049dfa8fc6475b32516a3933714ea49dce347a..a7316c475bab790c2136fc81c7d9503f9dd95089 100644 (file)
@@ -20,7 +20,6 @@
     state: started
     enabled: yes
     daemon_reload: yes
-  changed_when: false
   with_items:
     - tcmu-runner
     - rbd-target-gw
index 8bce2695784ad2cf57e3a2edc448ea8016f9093a..50bfe679cf0e07cd2e804e178bbe5b1b0047341f 100644 (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'"
index ad78bdcc28eaacaf1fc4a35aeb7dc894cb9005b2..40e623bf899579c35e7a4d4fc070cd31d9d82dcc 100644 (file)
@@ -15,5 +15,4 @@
     name: ceph-mgr@{{ ansible_hostname }}
     state: started
     enabled: yes
-    daemon_reload: yes
 changed_when: false
+    daemon_reload: yes
No newline at end of file
index 02b7209f1962e60df4b169bbcff856bafdad11d5..8df4826d2a4167011115e67ec28625eb0c666800 100644 (file)
@@ -56,5 +56,4 @@
     name: ceph-mon@{{ ansible_hostname }}
     state: started
     enabled: yes
-    daemon_reload: yes
 changed_when: false
+    daemon_reload: yes
No newline at end of file
index fb57cded53d8d0e6df32b19a1ff1f29835e2c2a0..6bb2844f621330272275208323852d4077f7b3bc 100644 (file)
@@ -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
No newline at end of file
index 4b8ca17f8acf476e52d4b1cd042a59af569783fe..83c270d7549a18094568d9d20cdc201313d0e8ab 100644 (file)
@@ -29,5 +29,4 @@
     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