mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1555 from ceph/rol-docker
rolling-update: set/unset flags on the right containerpull/1401/merge
commit
215ca26942
|
@ -187,7 +187,7 @@
|
|||
|
||||
- name: set containerized osd flags
|
||||
command: |
|
||||
docker exec ceph-osd-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }} ceph osd set {{ item }} --cluster {{ cluster }}
|
||||
docker exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }} ceph osd set {{ item }} --cluster {{ cluster }}
|
||||
with_items:
|
||||
- noout
|
||||
- noscrub
|
||||
|
@ -296,7 +296,7 @@
|
|||
|
||||
- name: unset containerized osd flags
|
||||
command: |
|
||||
docker exec ceph-osd-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }} ceph osd unset {{ item }} --cluster {{ cluster }}
|
||||
docker exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }} ceph osd unset {{ item }} --cluster {{ cluster }}
|
||||
with_items:
|
||||
- noout
|
||||
- noscrub
|
||||
|
|
Loading…
Reference in New Issue