diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2017-10-12 09:08:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-12 09:08:02 -0700 |
commit | e3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e (patch) | |
tree | 8db5ee2fb192696860a8892ebd41fc822179caa1 /playbooks/aws/PREREQUISITES.md | |
parent | 45725a38dd8ee6db16a89144f1e14c30f98440b8 (diff) | |
parent | 0cf1f1f615d978001b1084e5827cf79add0caaef (diff) | |
download | openshift-e3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e.tar.gz openshift-e3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e.tar.bz2 openshift-e3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e.tar.xz openshift-e3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e.zip |
Merge pull request #5690 from mgugino-upstream-stage/provisioning-docs
Automatic merge from submit-queue.
Provisioning Documentation Updates
Updating provisioning documents.
Also moved some steps from build_ami.yml to a new
play for better reusability.
Diffstat (limited to 'playbooks/aws/PREREQUISITES.md')
-rw-r--r-- | playbooks/aws/PREREQUISITES.md | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/playbooks/aws/PREREQUISITES.md b/playbooks/aws/PREREQUISITES.md new file mode 100644 index 000000000..4f428dcc3 --- /dev/null +++ b/playbooks/aws/PREREQUISITES.md @@ -0,0 +1,40 @@ +# Prerequisites + +When seeking to deploy a working openshift cluster using these plays, a few +items must be in place. + +These are: + +1) vpc +2) security group to build the AMI in. +3) ssh keys to log into instances + +These items can be provisioned ahead of time, or you can utilize the plays here +to create these items. + +If you wish to provision these items yourself, or you already have these items +provisioned and wish to utilize existing components, please refer to +provisioning_vars.yml.example. + +If you wish to have these items created for you, continue with this document. + +# Running prerequisites.yml + +Warning: Running these plays will provision items in your AWS account (if not +present), and you may incur billing charges. These plays are not suitable +for the free-tier. + +## Step 1: +Ensure you have specified all the necessary provisioning variables. See +provisioning_vars.example.yml and README.md for more information. + +## Step 2: +``` +$ ansible-playbook -i inventory.yml prerequisites.yml -e @provisioning_vars.yml +``` + +This will create a VPC, security group, and ssh_key. These plays are idempotent, +and multiple runs should result in no additional provisioning of these components. + +You can also verify that you will successfully utilize existing components with +these plays. |