summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws/tasks
Commit message (Collapse)AuthorAgeFilesLines
* oc_adm_csr: Add fail_on_timeout parameter which causes module to fail when ↵Andrew Butcher2018-02-131-0/+1
| | | | timeout was reached.
* aws ami: make it so the tags from the orinal AMI are used with the newly ↵Matt Woodson2018-02-071-1/+14
| | | | created AMI
* Merge pull request #6993 from joelddiaz/deprovision_elbsKenny Woodson2018-02-076-29/+82
|\ | | | | add deprovisioning for ELB (and IAM certs)
| * add deprovisioning for ELB (and IAM certs)Joel Diaz2018-02-026-29/+82
| | | | | | | | | | | | add playbooks to handle deleting ELBs and any IAM certs that may have been created during provisioning. redo ELB creation to remove arbitrary wait and just retry until ELB creation succeeds
* | add S3 bucket cleanupJoel Diaz2018-02-021-0/+26
|/ | | | | | Default to just cleaning out all the objects in the S3 bucket (IFF openshift_aws_create_s3 is 'true'). If you really, trully want to delete the S3 bucket and free up the bucket name, you can set openshift_aws_really_delete_s3_bucket to 'true' ('false' by default).
* Fix misaligned ports for sg,elb,apiChris Callegari2018-01-253-8/+7
|
* Merge pull request #6767 from mazzystr/fix-master-internal-elbKenny Woodson2018-01-241-1/+1
|\ | | | | Fix to master-internal elb scheme
| * Fix to master-internal elb schemeChris Callegari2018-01-171-1/+1
| |
* | Merge pull request #6533 from joelddiaz/prereqs_uninstallOpenShift Merge Robot2018-01-223-0/+59
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. allow uninstalling AWS objects created by prerequisite playbook add deprovisioners/uninstallers for objects created via playbooks/aws/openshift-cluster/prerequisites.yml specifically: security groups, vpcs, and any ssh keys introduce openshift_aws_enable_uninstall_shared_objects to protect AWS objects that would be shared in the case of multiple clusters co-existing in one AWS account. right now it protects the ssh keys, but it can/should be used to protect against deleting the shared IAM instance profile as well. default this variable to False to be on the safe side when uninstalling/deprovisioning.
| * | allow uninstalling AWS objects created by prerequisite playbookJoel Diaz2018-01-223-0/+59
| |/ | | | | | | | | | | | | | | | | | | add deprovisioners/uninstallers for objects created via playbooks/aws/openshift-cluster/prerequisites.yml specifically: security groups, vpcs, and any ssh keys introduce openshift_aws_enable_uninstall_shared_objects to protect AWS objects that would be shared in the case of multiple clusters co-existing in one AWS account. right now it protects the ssh keys, but it can/should be used to protect against deleting the shared IAM instance profile as well. default this variable to False to be on the safe side when uninstalling/deprovisioning. add some documentation on using deprovisioning playbooks
* | Merge pull request #6691 from abutcher/oc-adm-csr-cnAndrew Butcher2018-01-191-1/+3
|\ \ | | | | | | Use master group's ansible_ssh_user when accepting nodes.
| * | Remove duplication in node acceptance playbook and setup master groups so ↵Andrew Butcher2018-01-161-1/+3
| |/ | | | | | | that we can use the first master's ansible_ssh_user when delegating.
* | Merge pull request #6531 from abutcher/bootstrap-slurp-userOpenShift Merge Robot2018-01-161-15/+2
|\ \ | |/ |/| | | | | Automatic merge from submit-queue. Use master group ansible_ssh_user to pull bootstrap kubeconfig
| * Setup master groups in order to use the master group's ansible_ssh_user to ↵Andrew Butcher2018-01-091-15/+2
| | | | | | | | pull bootstrap kubeconfig.
* | Merge pull request #6692 from abutcher/cluster-operatorOpenShift Merge Robot2018-01-152-17/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Separate ELB & S3 from master node group provisioning Moved s3 and elb provisioning out of `roles/openshift_aws/tasks/provisioning.yml` and into their own playbooks. These playbooks are now included in the provision playbook and in a WIP infrastructure playbook we intend to run up front in place of prerequisites. @kwoodson what are your thoughts on something like this?
| * | Move s3 & elb provisioning into their own playbooks s.t. they are applied ↵Andrew Butcher2018-01-102-17/+15
| | | | | | | | | | | | outside of the openshift_aws master provisioning tasks.
* | | Move more plugins to lib_utilsMichael Gugino2018-01-102-0/+2
|/ / | | | | | | | | | | | | This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
* | docker storage setup for ami buildingJoel Diaz2018-01-081-1/+1
| | | | | | | | | | | | add host to g_new_node_hosts so that plays run against the AMI instance update example vars so that overlay2 is used by default for docker storage
* | Adding ability to update ami drive size.Kenny Woodson2017-12-211-5/+1
| |
* | Move node group tags to openshift_aws_{master,node}_group.Andrew Butcher2017-12-182-2/+2
|/
* Changing the node group format to a list.Kenny Woodson2017-12-1118-138/+187
|
* Copying upstream fix for ansible 2.4 ec2_group module.Kenny Woodson2017-12-111-2/+2
|
* Include Deprecation: Convert to include_tasksRussell Teague2017-12-068-21/+21
|
* Initial upgrade for scale groups.Kenny Woodson2017-11-2911-39/+160
|
* Adding instance profile support for node groups.Kenny Woodson2017-11-133-0/+43
|
* Bootstrap enhancements.Kenny Woodson2017-11-0812-164/+128
|
* Adding elb changes to provision elbs and add to scale group.Kenny Woodson2017-11-016-51/+41
|
* Moving removal of unwanted artifacts to image_prep.Kenny Woodson2017-10-251-7/+0
|
* Do not remove files for bootstrap if resolv or dns.Kenny Woodson2017-10-174-21/+19
|
* Merge pull request #5605 from mgugino-upstream-stage/build-provision-splitOpenShift Merge Robot2017-10-054-21/+85
|\ | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Build provision split Make provisioning steps more reusable Reorganizing and making some of the plays more reusable. Depends-on: https://github.com/openshift/openshift-ansible/pull/5565
| * fix master-facts for provisioningMichael Gugino2017-10-022-4/+4
| |
| * Make provisioning steps more reusableMichael Gugino2017-10-024-21/+85
| | | | | | | | | | Reorganizing and making some of the plays more reusable.
* | Merge pull request #5606 from ↵OpenShift Merge Robot2017-10-031-5/+10
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | mgugino-upstream-stage/provision-scale-elb-fixes-master Automatic merge from submit-queue. Fix provisiong scale group and elb logic Some changes necessary to support provisioning and scale group logic Some of this work is duplicated from an existing PR. That PR is about to merge, so I'll rebase once that hits.
| * Fix provisiong scale group and elb logicMichael Gugino2017-09-293-11/+16
| | | | | | | | | | Some changes necessary to support provisioning and scale group logic
* | Merge pull request #5589 from mgugino-upstream-stage/provision-var-fixes-masterJan Chaloupka2017-10-023-8/+9
|\ \ | | | | | | Fix some provisioning variables
| * | Fix some provisioning variablesMichael Gugino2017-09-293-8/+9
| |/ | | | | | | | | | | | | | | | | This commit fixes some provisioning variables. It also adjusts a failure condition for an ec2 call, which may fail silently without having the necessary permissions, which creates an unrelated error message later in the run.
* / Changes necessary to support AMI buildingMichael Gugino2017-09-281-0/+5
|/ | | | | | | Currently, AMI building does not work. These changes implement the necessary steps to build an AMI for usage as a 'golden node image'.
* More variables in AWS provisioning playsMichael Gugino2017-09-261-1/+1
| | | | | | | | This commit adds more optional variables to provision hosts in AWS environments. These changes allow provisioning instances that utilize an ssh_user other than root.
* Consolidating AWS roles and variables underneath openshift_aws role.Kenny Woodson2017-09-0714-0/+571