mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #74 from guestisp/fix-73-use-ansible-fqdn-in-purge-yml
Fix #73 by using `ansible_fqdn`pull/75/head
commit
b4fad6fcfc
|
@ -9,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
|
||||
|
@ -17,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
|
||||
|
|
Loading…
Reference in New Issue