diff options
author | Michael Gugino <mgugino@redhat.com> | 2017-10-06 16:55:36 -0400 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2017-10-11 13:30:06 -0400 |
commit | 0cf1f1f615d978001b1084e5827cf79add0caaef (patch) | |
tree | c220a222c8823b0ac2d0d6d751d37a0a2d751f68 /playbooks/aws/PREREQUISITES.md | |
parent | b35eb14f85fab4a8f1411feb43a563b19c73c438 (diff) | |
download | openshift-0cf1f1f615d978001b1084e5827cf79add0caaef.tar.gz openshift-0cf1f1f615d978001b1084e5827cf79add0caaef.tar.bz2 openshift-0cf1f1f615d978001b1084e5827cf79add0caaef.tar.xz openshift-0cf1f1f615d978001b1084e5827cf79add0caaef.zip |
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. |