ceph-ansible/infrastructure-playbooks
Guillaume Abrioux af78173584 rolling_update: refact set_fact `mon_host`
each monitor node should select another monitor which isn't itself.
Otherwise, one node in the monitor group won't set this fact and causes
failure.

Typical error:
```
TASK [create potentially missing keys (rbd and rbd-mirror) when mon is containerized] ***
task path: /home/jenkins-build/build/workspace/ceph-ansible-prs-dev-update_docker_cluster/rolling_update.yml:200
Thursday 22 November 2018  14:02:30 +0000 (0:00:07.493)       0:02:50.005 *****
fatal: [mon1]: FAILED! => {}

MSG:

The task includes an option with an undefined variable. The error was: 'dict object' has no attribute u'mon2'
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-11-26 18:22:20 +01:00
..
untested-by-ci don't use "role" or "roles" to include roles 2018-10-31 09:38:59 +01:00
vars infrastructure playbooks: ensure nvme_device is defined in lv-create.yml 2018-10-29 08:41:42 +00:00
README.md rolling_update: fix wrong indent 2016-10-26 12:51:08 -05:00
add-osd.yml docker-common: rename role 2018-11-12 10:51:48 +01:00
ansible.cfg Cleanup plugins directories and references 2018-03-14 11:15:39 +01:00
ceph-keys.yml ceph_key: add fetch_initial_keys capability 2018-11-09 12:45:52 +01:00
gather-ceph-logs.yml infra: add a gather-ceph-logs.yml playbook 2018-10-17 13:52:19 +00:00
lv-create.yml infrastructure playbooks: ensure nvme_device is defined in lv-create.yml 2018-10-29 08:41:42 +00:00
lv-teardown.yml lv-teardown: fail silently if lv_vars.yml is not found 2018-08-16 16:38:23 +02:00
purge-cluster.yml don't loop over a task using package management modules 2018-11-08 08:38:10 +00:00
purge-docker-cluster.yml add quotes around package names added in da6f384 2018-11-09 12:59:08 +00:00
purge-iscsi-gateways.yml igw: stop tcmu-runner on iscsi purge 2018-11-09 10:02:16 +01:00
rgw-standalone.yml don't use "role" or "roles" to include roles 2018-10-31 09:38:59 +01:00
rolling_update.yml rolling_update: refact set_fact `mon_host` 2018-11-26 18:22:20 +01:00
shrink-mon.yml don't use "role" or "roles" to include roles 2018-10-31 09:38:59 +01:00
shrink-osd-ceph-disk.yml Fix comments in shrink-osd-ceph-disk playbook 2018-11-08 17:45:37 +01:00
shrink-osd.yml don't use "role" or "roles" to include roles 2018-11-08 17:45:37 +01:00
switch-from-non-containerized-to-containerized-ceph-daemons.yml switch: do not look for devices anymore 2018-11-23 07:56:23 +00:00
take-over-existing-cluster.yml don't use "role" or "roles" to include roles 2018-10-31 09:38:59 +01:00

README.md

Infrastructure playbooks

This directory contains a variety of playbooks that can be used independently of the Ceph roles we have. They aim to perform infrastructure related tasks that would help use managing a Ceph cluster or performing certain operational tasks.

To use them, you must move them to ceph-ansible's root directory, then run using ansible-playbook <playbook>.