Commit 95c3d3a2 by John Jarvis

adding create_cname.yml

parent e410b3ba
# Creates a cname for a sandbox ec2 instance
- name: Creates a CNAME
hosts: all
sudo: True
gather_facts: False
tasks:
- name: Add DNS name
local_action:
module: route53
overwrite: yes
command: create
zone: "{{ dns_zone }}"
type: CNAME
ttl: 300
record: "{{ cname }}"
value: "{{ sandbox }}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment