purge-container: gather fact before calling ceph-defaults

ceph-defaults relies on facts so we must gather facts before running it.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 62111ff53c)
pull/3484/head
Sébastien Han 2018-12-04 09:22:34 +01:00
parent 8e83ecfce1
commit 37ba313d76
1 changed files with 2 additions and 0 deletions

View File

@ -305,6 +305,7 @@
hosts:
- "{{ osd_group_name|default('osds') }}"
gather_facts: true
become: true
tasks:
@ -586,6 +587,7 @@
- "{{ nfs_group_name|default('nfss') }}"
- "{{ mgr_group_name|default('mgrs') }}"
gather_facts: true
become: true
tasks: