do dependant infrastructure tasks on non-root localhost
[awsible] / roles / common-infrastructure / tasks / main.yml
index 6d40a647d3d161f58b18dc4eaea3eb7041db05c9..0d3910b836b14ae59f4f37df2818a31a85202dc8 100644 (file)
@@ -1,5 +1,7 @@
 ---
 - name: sg ssh
+  delegate_to: localhost
+  become: no
   ec2_group:
     vpc_id: "{{ vpc.vpc.id }}"
     region: "{{ vpc_region }}"