From: Alessandro Corbelli Date: Fri, 18 Apr 2014 08:55:31 +0000 (+0200) Subject: Fix #73 by using `ansible_fqdn` X-Git-Tag: v1.0.0~359^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F74%2Fhead;p=ceph-ansible.git Fix #73 by using `ansible_fqdn` --- diff --git a/purge.yml b/purge.yml index 218c9ceb5..44b29135d 100644 --- a/purge.yml +++ b/purge.yml @@ -2,8 +2,6 @@ # This playbook purges Ceph # It removes: packages, configuration files and ALL THE DATA ---- - - hosts: - mons - osds @@ -11,7 +9,7 @@ tasks: - name: Purge Ceph - command: ceph-deploy purge {{ ansible_hostname }} + command: ceph-deploy purge {{ ansible_fqdn }} delegate_to: 127.0.0.1 - name: Remove OSD data @@ -19,7 +17,7 @@ ignore_errors: true - name: Purge remaining data - command: ceph-deploy purgedata {{ ansible_hostname }} + command: ceph-deploy purgedata {{ ansible_fqdn }} delegate_to: 127.0.0.1 - name: Purge partitions