]> 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)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 18 Jun 2019 16:45:01 +0000 (12:45 -0400)
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>
infrastructure-playbooks/rolling_update.yml

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