summaryrefslogtreecommitdiffstats
path: root/tasks/virt_instance_create.yml
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2016-11-01 16:29:49 +0000
committerKevin Fenzi <kevin@scrye.com>2016-11-01 16:29:49 +0000
commitb1a2d105c9727e9713ec0b00c1b04fcac77fcddc (patch)
treedf88db8f22498635499b75bc1db895a6921db712 /tasks/virt_instance_create.yml
parent1fe7e9264d2e7fdc45e97060dc04d9e5867a50e3 (diff)
downloadansible-b1a2d105c9727e9713ec0b00c1b04fcac77fcddc.tar.gz
ansible-b1a2d105c9727e9713ec0b00c1b04fcac77fcddc.tar.xz
ansible-b1a2d105c9727e9713ec0b00c1b04fcac77fcddc.zip
In ansible 2.2 always_run is depreciated. Switch to check_mode.
Diffstat (limited to 'tasks/virt_instance_create.yml')
-rw-r--r--tasks/virt_instance_create.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml
index 358e29d54..fa0b53ebc 100644
--- a/tasks/virt_instance_create.yml
+++ b/tasks/virt_instance_create.yml
@@ -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