mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
virt_instance_create: try and remove facts cache for new vms again now that we hopefully have the python autodetect working more or less
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
b87ca6a85c
commit
78223d74be
@@ -11,10 +11,10 @@
|
||||
register: result
|
||||
check_mode: no
|
||||
|
||||
#- name: ensure no old facts exist
|
||||
# delegate_to: localhost
|
||||
# file: path=/root/.ansible_facts_cache/{{ inventory_hostname }} state=absent
|
||||
# when: inventory_hostname not in result.list_vms
|
||||
- name: ensure no old facts exist
|
||||
delegate_to: localhost
|
||||
file: path=/root/.ansible_facts_cache/{{ inventory_hostname }} state=absent
|
||||
when: inventory_hostname not in result.list_vms
|
||||
|
||||
- name: ensure the lv for the guest is made
|
||||
lvol: lv={{ inventory_hostname }} vg={{ volgroup }} size={{ lvm_size }} state=present
|
||||
|
||||
Reference in New Issue
Block a user