Guest User

Untitled

a guest
Mar 17th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. ---
  2. - hosts: 127.0.0.1
  3.  
  4. tasks:
  5. - name: setup dev records
  6. route53:
  7. state: present
  8. private_zone: true
  9. zone: private_zone_name.com
  10. vpc_id: private_zone_vpc_id
  11. record: "{{ item }}.private_zone_name.com"
  12. type: A
  13. ttl: 3600
  14. value: "{{ hostvars[item].ec2_private_ip_address }}"
  15. overwrite: true
  16.  
  17. with_items:
  18. - "{{ groups['ec2'] }}"
Add Comment
Please, Sign In to add comment