Commit Graph

9 Commits (dba88502b039bb46a5a506ec22058abdd47ecc19)

Author SHA1 Message Date
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