In ansible 2.2 always_run is depreciated. Switch to check_mode.

This commit is contained in:
Kevin Fenzi 2016-11-01 16:29:49 +00:00
parent 1fe7e9264d
commit b1a2d105c9
67 changed files with 124 additions and 124 deletions

View file

@ -6,7 +6,7 @@
delegate_to: "{{ vmhost }}"
virt: command=list_vms
register: result
always_run: yes
check_mode: no
- name: ensure the lv for the guest is made
lvol: lv={{ inventory_hostname }} vg={{ volgroup }} size={{ lvm_size }} state=present