summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #987 from abutcher/uninstall-restart-dockerBrenton Leanhardt2015-11-301-0/+3
|\ | | | | Uninstall: only restart docker on node hosts.
| * Uninstall: only restart docker on node hosts.Andrew Butcher2015-11-251-0/+3
| |
* | Make sure that OpenSSL is installed before useFederico Simoncelli2015-11-251-0/+2
|/ | | | Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
* addtl aws fixesJason DeTiberus2015-11-242-1/+3
|
* fix addNodes.ymlJason DeTiberus2015-11-241-22/+1
|
* more aws support for scaleupJason DeTiberus2015-11-242-0/+67
|
* start of aws scaleupJason DeTiberus2015-11-242-0/+41
|
* Improve scaleup playbookJason DeTiberus2015-11-243-12/+19
| | | | | | | | - modify evaluate host to set oo_nodes_to_config to a new variable g_new_nodes_group if defined rather than g_nodes_group and also skip adding the master when g_new_nodes_group is set. - Remove byo specific naming from playbooks/common/openshift-cluster/scaleup.yml and created a new playbooks/byo/openshift-cluster/scaleup.yml playbook.
* Add serviceAccountConfig.masterCA during 3.1 upgradeJason DeTiberus2015-11-231-0/+4
| | | | | - uses the value of oauthConfig.masterCA if present, otherwise sets it to ca.crt
* Merge pull request #938 from brenton/uninstallBrenton Leanhardt2015-11-201-5/+5
|\ | | | | Making the uninstall playbook more flexible
| * Making the uninstall playbook more flexibleBrenton Leanhardt2015-11-191-5/+5
| | | | | | | | | | This handles stage environments as well as the eventual change of aep3_beta to aep3
* | Replace map with oo_collect to support python-jinja2 <2.7Andrew Butcher2015-11-203-7/+7
| |
* | Merge pull request #937 from rdossin1A/machine_typesThomas Wiest2015-11-193-2/+9
|\ \ | | | | | | Differentiate machine types on GCE (master and nodes)
| * | Differentiate machine types on GCE (master and nodes)Romain Dossin2015-11-193-2/+9
| | |
* | | Merge pull request #933 from menren/dockerOnMasterAWSThomas Wiest2015-11-192-4/+7
|\ \ \ | |_|/ |/| | Docker on master aws
| * | small tweaks for adding docker volume for aws master hostsJason DeTiberus2015-11-182-4/+3
| | |
| * | add a volume on master host, in AWS provisioningChengcheng Mu2015-11-182-1/+5
| | |
* | | Merge pull request #881 from abutcher/namedCertRefactorBrenton Leanhardt2015-11-191-9/+45
|\ \ \ | |_|/ |/| | Refactor named certficates
| * | Add additive_facts_to_overwrite instead of overwriting all additive_factsAndrew Butcher2015-11-161-1/+2
| | |
| * | Refactor named certificates.Andrew Butcher2015-11-161-9/+44
| | |
* | | Merge pull request #936 from detiber/uninstallUpdateBrenton Leanhardt2015-11-181-0/+1
|\ \ \ | | | | | | | | Uninstall - Remove systemd wants file for node
| * | | Uninstall - Remove systemd wants file for nodeJason DeTiberus2015-11-181-0/+1
| | |/ | |/|
* | | Merge pull request #918 from detiber/fix_ec2_instance_type_overrideThomas Wiest2015-11-181-8/+4
|\ \ \ | | | | | | | | Fix ec2 instance type override
| * | | Fix ec2 instance type overrideJason DeTiberus2015-11-171-8/+4
| |/ /
* / / ec2 - force !requiretty for ssh_userJason DeTiberus2015-11-181-0/+7
|/ /
* / Add the native ha services and configs to uninstallJason DeTiberus2015-11-161-1/+15
|/
* Merge pull request #461 from lhuard1A/prettify_list_outputThomas Wiest2015-11-164-3/+16
|\ | | | | Better structure the output of the list playbook
| * Better structure the output of the list playbookLénaïc Huard2015-11-132-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The list playbook listed the IPs of the VMs without logging their role like: TASK: [debug ] ************************************************************ ok: [10.64.109.37] => { "msg": "public:10.64.109.37 private:192.168.165.5" } ok: [10.64.109.47] => { "msg": "public:10.64.109.47 private:192.168.165.6" } ok: [10.64.109.36] => { "msg": "public:10.64.109.36 private:192.168.165.4" } ok: [10.64.109.215] => { "msg": "public:10.64.109.215 private:192.168.165.2" } The list playbook now prints the information in a more structured way with a list of masters, a list of nodes and the subtype of the nodes like: TASK: [debug ] ************************************************************ ok: [localhost] => { "msg": { "lenaicnewlist": { "master": [ { "name": "10.64.109.215", "private IP": "192.168.165.2", "public IP": "10.64.109.215", "subtype": "default" } ], "node": [ { "name": "10.64.109.47", "private IP": "192.168.165.6", "public IP": "10.64.109.47", "subtype": "compute" }, { "name": "10.64.109.37", "private IP": "192.168.165.5", "public IP": "10.64.109.37", "subtype": "compute" }, { "name": "10.64.109.36", "private IP": "192.168.165.4", "public IP": "10.64.109.36", "subtype": "infra" } ] } } }
| * Add the sub-host-type tag to the libvirt VMsLénaïc Huard2015-11-132-1/+2
| |
* | Merge pull request #894 from detiber/gateUpgradeBrenton Leanhardt2015-11-161-3/+113
|\ \ | | | | | | Gate upgrade steps
| * | Gate upgrade steps for 3.0 to 3.1 upgradeJason DeTiberus2015-11-131-3/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Add gateing tests on the 3.0 to 3.1 upgrade - Ensure that each stage does not proceed if a subset of the hosts fail, since ansible will continue through the playbook as long as all hosts in a play haven't failed. - Fix up some left over references to byo group names
* | | Merge pull request #893 from detiber/etcdFactsBrenton Leanhardt2015-11-132-3/+1
|\| | | | | | | | Update etcd default facts setting
| * | Update etcd default facts settingJason DeTiberus2015-11-132-3/+1
| | |
* | | Merge pull request #892 from abutcher/bz1280230Brenton Leanhardt2015-11-131-0/+10
|\ \ \ | |/ / |/| | Update master facts prior to upgrading from 3.0 to 3.1
| * | Update master facts prior to upgrading incase facts are missing.Andrew Butcher2015-11-131-0/+10
| |/
* / pre-upgrade-check: differentiates between port and targetPort in outputSteve Milner2015-11-131-7/+9
|/
* Fix update error for templates that didn't previously existJason DeTiberus2015-11-111-1/+8
|
* General cleanup of v3_0_to_v3_1/upgrade.ymlJason DeTiberus2015-11-111-210/+225
| | | | | | | | | - Reorder to push all non-changing checks first - Remove multiple plays where possible - Make formatting more consistent - Add additional comments to break up the different stages of the upgrade. - Use group names more consistently - Add package version checking to nodes
* Refactor upgrade playbook(s)Jason DeTiberus2015-11-1026-44/+212
| | | | | | | | | | | | | - Split playbooks into two, one for 3.0 minor upgrades and one for 3.0 to 3.1 upgrades - Move upgrade playbooks to common/openshift/cluster/upgrades from adhoc - Added a byo wrapper playbooks to set the groups based on the byo conventions, other providers will need similar playbooks added eventually - installer wrapper updates for refactored upgrade playbooks - call new 3.0 to 3.1 upgrade playbook - various fixes for edge cases I hit with a really old config laying around. - fix output of host facts to show connect_to value.
* Add origin-clients to uninstall playbook.Andrew Butcher2015-11-101-1/+2
|
* Add separate step to enable services during upgrade.Devan Goodwin2015-11-101-3/+19
| | | | | Instead of combining this with tasks to restart services, add a separate started+enabled play for masters and nodes at the end of the playbook.
* 1279734: Ensure services are enabled after upgrade.Devan Goodwin2015-11-101-4/+4
| | | | | | With the openshift to atomic-openshift renames, some services were not enabled after upgrade. Added enabled directives to all service restart lines in the upgrade playbook.
* Merge pull request #848 from dgoodwin/drop-302-reqBrenton Leanhardt2015-11-091-4/+1
|\ | | | | Remove upgrade playbook restriction on 3.0.2.
| * Remove upgrade playbook restriction on 3.0.2.Devan Goodwin2015-11-091-4/+1
| | | | | | | | | | This is blocking 3.0.1 upgrades to 3.1 incorrectly, which is a scenario we should support.
* | Merge pull request #850 from dgoodwin/etcd-dirBrenton Leanhardt2015-11-091-1/+1
|\ \ | | | | | | Read etcd data dir from appropriate config file.
| * | Read etcd data dir from appropriate config file.Devan Goodwin2015-11-091-1/+1
| |/ | | | | | | | | | | | | | | | | Rather than assuming the etcd data dir, we now read if from master-config.yaml if using embedded etcd, otherwise from etcd.conf. Doing so now required use of PyYAML to parse config file when gathering facts. Fixed discrepancy with data_dir fact and openshift-enterprise deployment_type.
* / Conditionals for flannel etcd client certs.Andrew Butcher2015-11-081-3/+8
|/
* Merge pull request #698 from lebauce/flannelBrenton Leanhardt2015-11-062-0/+81
|\ | | | | Add support for flannel
| * Check etcd certs exist for flannel when its support is enabledSylvain Baubeau2015-10-271-1/+1
| |
| * Generate etcd certificats for flannel when is not embeddedSylvain Baubeau2015-10-271-0/+70
| |