Commit aa3857d8 by John Jarvis

making dns zone configurable

parent b9be53c1
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
instance_tags: "{{ instance_tags }}" instance_tags: "{{ instance_tags }}"
size: "{{ size }}" size: "{{ size }}"
dns_name: "{{ dns_name }}" dns_name: "{{ dns_name }}"
dns_zone: "{{ dns_zone }}"
- name: Configure instance(s) - name: Configure instance(s)
hosts: launched hosts: launched
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
local_action: local_action:
module: route53 module: route53
command: create command: create
zone: sandbox.edx.org zone: "{{ dns_zone }}"
type: CNAME type: CNAME
ttl: 300 ttl: 300
record: "preview.{{ dns_name }}" record: "preview.{{ dns_name }}"
......
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