forked from redhat-cop/agnosticd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 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 | ||
|