do dependant infrastructure tasks on non-root localhost
[awsible] / roles / aws-vpc / tasks / main.yml
index e92a53aeafc513da275623eff79089de8485a154..da1f4f54ad3b3625a22f022b4e044d7ff1c7631f 100644 (file)
@@ -7,6 +7,8 @@
   tags: ['check_vars']
 
 - name: VPC
+  delegate_to: localhost
+  become: no
   ec2_vpc_net:
     state: present
     name: "{{ vpc_name }}"