do dependant infrastructure tasks on non-root localhost
[awsible] / roles / aws-vpc-infrastructure / tasks / main.yml
index af68180f18e9682b709f253093a784e63b871b39..17a5800252191c1824bf434c53d3cf09ad2b0441 100644 (file)
     az: "{{ item.az }}"
     tags: "{{ item.resource_tags }}"
 
-- name: Access/NAT EIP
-  ec2_eip:
-    in_vpc: yes
-    region: "{{ vpc_region }}"
-    reuse_existing_ip_allowed: yes
-  register: access_eip
+- name: Access/NAT EIP
+  ec2_eip:
+    in_vpc: yes
+    region: "{{ vpc_region }}"
+    reuse_existing_ip_allowed: yes
+  register: access_eip
 
 # As of ansible 2.2.1.0, it cannot set anything on the main route table
 # due to limitations of the underlying boto libarary.