]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: only mask and stop unit in mgr part
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 10 Jun 2019 13:18:43 +0000 (15:18 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Wed, 19 Jun 2019 08:41:25 +0000 (08:41 +0000)
Otherwise it fails like following:

```
fatal: [mon0]: FAILED! => changed=false
  msg: |-
    Unable to enable service ceph-mgr@mon0: Failed to execute operation: Cannot send after transport endpoint shutdown
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 51b2813e0483b042fb52dd3056464eaa4a4b1a3c)

infrastructure-playbooks/rolling_update.yml

index 1db76da1175f71e06610c74229c6707495b6f52a..3971a4dd58bdd2a36dbd2218d5d4dfc7d602e45b 100644 (file)
           systemd:
             name: ceph-mgr@{{ ansible_hostname }}
             state: stopped
-            enabled: yes
             masked: yes
 
         - import_role: