From 0d53f4e0cca239b40b8701004d66f816827880c0 Mon Sep 17 00:00:00 2001 From: Aaron Meihm Date: Fri, 12 May 2017 16:06:26 -0500 Subject: [PATCH] selfservice: include ss dns zone in cfoutput --- playbooks/app.yml | 1 + templates/app.json | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/playbooks/app.yml b/playbooks/app.yml index f4015ee..94f249b 100644 --- a/playbooks/app.yml +++ b/playbooks/app.yml @@ -29,3 +29,4 @@ APICertName: "{{ api_certificate_name }}" SelfServiceCertName: "{{ selfservice_certificate_name }}" APIDNSName: "{{ apidnszone }}" + SelfServiceDNSName: "{{ selfservicednszone }}" diff --git a/templates/app.json b/templates/app.json index 796bc4b..5052e31 100644 --- a/templates/app.json +++ b/templates/app.json @@ -70,6 +70,10 @@ "APIDNSName": { "Type": "String", "Description": "MIG API DNS hostname" + }, + "SelfServiceDNSName": { + "Type": "String", + "Description": "MIG self service DNS hostname" } }, "Conditions": { @@ -260,6 +264,9 @@ "echo 'apidnszone: ", { "Ref": "APIDNSName" }, "' >> vars/cfoutput.yml\n", + "echo 'selfservicednszone: ", + { "Ref": "SelfServiceDNSName" }, + "' >> vars/cfoutput.yml\n", "/root/go/bin/sops -d -i vars/sec.yml\n", "ansible-playbook -t users,selfservice,td-agent entry.yml\n" ]