ceph-ansible/infrastructure-playbooks
Randy J. Martinez d1f2d64b15 purge-docker: added conditionals needed to successfully re-run purge
Added 'ignore_errors: true' to multiple lines which run docker commands; even in cases where docker is no longer installed. Because of this, certain tasks in the purge-docker-cluster.yml will cause the playbook to fail if re-run and stop the purge. This leaves behind a dirty environment, and a playbook which can no longer be run.
Fix Regex line 275: Sometimes 'list-units' will output 4 spaces between loaded+active. The update will account for both scenarios.
purge fetch_directory: in other roles fetch_directory is hard linked ex.: "{{ fetch_directory }}"/"{{ somedir }}". That being said, fetch_directory will never have a trailing slash in the all.yml so this task was never being run(causing failures when trying to re-deploy).

Signed-off-by: Randy J. Martinez <ramartin@redhat.com>
2018-04-10 13:39:14 +02:00
..
untested-by-ci syntax: change local_action syntax 2018-01-31 10:45:34 +01:00
README.md rolling_update: fix wrong indent 2016-10-26 12:51:08 -05:00
ansible.cfg Cleanup plugins directories and references 2018-03-14 11:15:39 +01:00
osd-configure.yml infrastructure-playbooks: update with ceph-defaults roles 2017-08-02 17:12:20 +02:00
purge-cluster.yml common: do not use `shell` module when it is not needed 2018-01-31 10:45:34 +01:00
purge-docker-cluster.yml purge-docker: added conditionals needed to successfully re-run purge 2018-04-10 13:39:14 +02:00
purge-iscsi-gateways.yml purge-iscsi: fix group name 2017-10-11 12:52:12 +02:00
rgw-standalone.yml infrastructure-playbooks: update with ceph-defaults roles 2017-08-02 17:12:20 +02:00
rolling_update.yml update: look for short and fqdn in ceph_health_raw 2018-02-19 10:27:47 +01:00
shrink-mon.yml shrink-mon: fix typo in the code doc 2017-10-27 11:59:22 +02:00
shrink-osd.yml shrink-osd: admin key not needed for container shrink 2017-10-07 00:20:43 +02:00
switch-from-non-containerized-to-containerized-ceph-daemons.yml switch-to-containers: do not fail when stopping the nfs-ganesha service 2018-01-06 14:07:55 +01:00
take-over-existing-cluster.yml infra: do not include host_vars/* in take-over-existing-cluster.yml 2018-02-12 11:48:47 +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>.