]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: don't enable ceph-mon unit
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 20 Nov 2019 19:40:52 +0000 (14:40 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 21 Nov 2019 08:19:43 +0000 (09:19 +0100)
On non containerized deployment the ceph-mon hostname/fqdn systemd
service are stopped at the beginning of the mon upgrade.
But the parameter enabled is set to true for both task so even if we're
not using the fqdn then it will enabled the systemd unit based on it.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1649617
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
infrastructure-playbooks/rolling_update.yml

index 3f5c037c5693e116e9c33dc5ac34275633382dbe..30f977254356761d8d48be7317067910f17cbac2 100644 (file)
       systemd:
         name: ceph-mon@{{ ansible_hostname }}
         state: stopped
-        enabled: yes
+        enabled: no
       ignore_errors: True
       when:
         - not containerized_deployment
       systemd:
         name: ceph-mon@{{ ansible_fqdn }}
         state: stopped
-        enabled: yes
+        enabled: no
       ignore_errors: True
       when:
         - not containerized_deployment