Skip to content

Commit

Permalink
More Three Tier README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tonykay committed Dec 6, 2018
1 parent 4c0892d commit b4a26db
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
29 changes: 13 additions & 16 deletions ansible/configs/three-tier-app/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand All @@ -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 protected]" \
-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 protected]" \
-e "output_dir=/tmp/workdir" \
-e@../secret.yml -vv
Expand Down

0 comments on commit b4a26db

Please sign in to comment.