mirror of https://github.com/ceph/ceph-ansible.git
b1a3b6e2f1
since this task is designed to be always run on the first monitor, let's
enforce the container name accordingly otherwise it could fail like
following:
```
fatal: [mon1 -> mon0]: FAILED! => changed=true
cmd:
- docker
- exec
- ceph-mon-mon1
- ceph
- --cluster
- ceph
- --name
- mon.
- -k
- /var/lib/ceph/mon/ceph-mon0/keyring
- auth
- get-key
- mon.
delta: '0:00:00.085025'
end: '2019-06-12 06:12:27.677936'
msg: non-zero return code
rc: 1
start: '2019-06-12 06:12:27.592911'
stderr: 'Error response from daemon: No such container: ceph-mon-mon1'
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
```
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit
|
||
---|---|---|
.github/ISSUE_TEMPLATE | ||
contrib | ||
docs | ||
group_vars | ||
infrastructure-playbooks | ||
library | ||
plugins | ||
profiles | ||
roles | ||
tests | ||
.gitignore | ||
.mergify.yml | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE | ||
Makefile | ||
README-MULTISITE.md | ||
README.rst | ||
Vagrantfile | ||
ansible.cfg | ||
ceph-ansible.spec.in | ||
dummy-ansible-hosts | ||
generate_group_vars_sample.sh | ||
raw_install_python.yml | ||
requirements.txt | ||
rhcs_edits.txt | ||
site-container.yml.sample | ||
site-docker.yml.sample | ||
site.yml.sample | ||
test.yml | ||
tox-dashboard.ini | ||
tox-podman.ini | ||
tox-update.ini | ||
tox.ini | ||
vagrant_variables.yml.sample |
README.rst
ceph-ansible ============ Ansible playbooks for Ceph, the distributed filesystem. Please refer to our hosted documentation here: http://docs.ceph.com/ceph-ansible/master/ You can view documentation for our ``stable-*`` branches by substituting ``master`` in the link above for the name of the branch. For example: http://docs.ceph.com/ceph-ansible/stable-3.0/