From b4a26dbabe2659df870008c4679b31e60024254b Mon Sep 17 00:00:00 2001 From: Tok Date: Wed, 5 Dec 2018 17:08:28 -0700 Subject: [PATCH] More Three Tier README updates --- README.adoc | 4 +-- ansible/configs/three-tier-app/README.adoc | 29 ++++++++++------------ 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/README.adoc b/README.adoc index 08d897b9a9d..311de74f63b 100644 --- a/README.adoc +++ b/README.adoc @@ -20,5 +20,5 @@ Well designed _configs_, can be easily abstracted to allow deployment to multipl The Contributors Guides explore the relevant structures in significantly more detail: -* link:docs/Creating_a_config.adoc[Creating a Config] -* link:docs/Creating_a_cloud_deployer.adoc[Creating a Cloud Deployer] +* link:docs/Creating_a_config.adoc[Creating a Config Guide] +* link:docs/Creating_a_cloud_deployer.adoc[Creating a Cloud Deployer Guide] diff --git a/ansible/configs/three-tier-app/README.adoc b/ansible/configs/three-tier-app/README.adoc index dfa8a273e72..3be9053aaae 100644 --- a/ansible/configs/three-tier-app/README.adoc +++ b/ansible/configs/three-tier-app/README.adoc @@ -12,7 +12,6 @@ image::topology.png[width=100%] * AWS * Azure - == Review the Env_Type variable file The link:./env_vars.yml[./env_vars.yml] file contains all the variables you need to define to control the deployment of your environment. @@ -30,11 +29,10 @@ These can be over-ridden at `ansible-playbook` runtime via `-e` options or perha For further information on customizing images consult the link:../../../docs/Creating_a_config.adoc[Creating a Config Guide] - - == Running Ansible Playbook -You can run the playbook with the following arguments to overwrite the default variable values: + +You can run the playbook with the following arguments, from the `ansible` directory, to overwrite the default variable values: [source,bash] ---- REGION=ap-southeast-2 @@ -45,18 +43,17 @@ CLOUDPROVIDER=ec2 HOSTZONEID='Z3IHLWJZOU9SRT' BASESUFFIX='.example.opentlc.com' -ansible-playbook \ - ansible/main.yml \ - -e "guid=${GUID}" \ - -e "env_type=${ENVTYPE}" \ - -e "key_name=${KEYNAME}" \ - -e "subdomain_base_suffix=${BASESUFFIX}" \ - -e "cloud_provider=${CLOUDPROVIDER}" \ - -e "aws_region=${REGION}" \ - -e "HostedZoneId=${HOSTZONEID}" \ - -e "email=name@example.com" \ - -e "output_dir=/opt/workdir" \ - -e@../secret.yml -vv +ansible-playbook main.yml \ + -e "guid=${GUID}" \ + -e "env_type=${ENVTYPE}" \ + -e "key_name=${KEYNAME}" \ + -e "subdomain_base_suffix=${BASESUFFIX}" \ + -e "cloud_provider=${CLOUDPROVIDER}" \ + -e "aws_region=${REGION}" \ + -e "HostedZoneId=${HOSTZONEID}" \ + -e "email=name@example.com" \ + -e "output_dir=/tmp/workdir" \ + -e@../secret.yml -vv