Commit Graph

12 Commits (9363665019f64240a0ed4833392707ed59c927be)

Author SHA1 Message Date
Leseb 9cb5849cd2 Merge pull request #573 from bengland2/purge_cluster_fixes
extend to handle rgws, read in ceph-common defaults
2016-03-03 12:08:27 +01:00
KGoreczny b4f29f1869 Add zap journal devices for raw multi journal scenario
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
2016-02-29 13:22:13 +01:00
Ben England c4d69dafbc extend to handle rgws, read in ceph-common defaults 2016-02-28 06:53:31 -05:00
KGoreczny 6e03f4944b Unify quotation marks
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
2016-02-16 13:41:58 +01:00
KGoreczny 4e2303fce5 Add dnf package support; change condition checks for package managers
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
2016-02-15 16:51:16 +01:00
KGoreczny fc2ace7ba0 Use yum and apt modules instead of package to provide Ansible <2.0 support; fix typo
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
2016-02-15 16:01:00 +01:00
Krzysztof Goreczny bbcdf2fde7 Rewrite purge-cluster playbook
Signed-off-by: Krzysztof Goreczny <krzysztof.goreczny@intel.com>
2016-02-15 14:22:25 +01:00
Sébastien Han 5441b639f7 Do not zap disks on monitors
We don't necessary want to wipe and delete partition of the disks on the
monitor nodes, so we simply perform the operation on the OSD nodes.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 00:32:42 +02:00
Sébastien Han 3b49c57834 Move parted to the end of the playbook
If we call partprobe directly after the partition deletion the task will
get stucked.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-08-03 16:20:03 +02:00
Michael Sambol e6f22b948c Failed_when instead of ignore_errors
Changed ignore_errors to failed_when so the output doesn't show in
red.
2015-07-29 13:35:46 -05:00
leseb e249098f7b Improve purge playbook
We run a zap twice here since we can't combine with_items and
with_sequence yet. This will land in Ansible 2.0. We destroy all the
partitions and re-create new labels as well. We do this twice just
because sometimes one is not sufficient. We also call partprobe to make
sure that the kernel sees the changes.

Signed-off-by: leseb <seb@redhat.com>
2015-07-08 10:34:16 +02:00
Sébastien Han 6aaea43d1c Merge branch 'master' of https://github.com/ceph/ceph-ansible into improve-rolling-upgrade 2015-03-30 17:29:28 +02:00