summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Add missing atomic- and openshift-enterprisePep Turró Mauri2016-02-095-5/+5
| | | | | | Some checks related to *enterprise deployments were still only looking for "enterprise" deployment_type. Update them to cover also atomic-enterprise and openshift-enterprise deployment types.
* Merge pull request #1325 from abutcher/fix-scaleupBrenton Leanhardt2016-02-023-1/+4
|\ | | | | Fix scaleup playbook.
| * Do not apply the etcd_certificates role during node playbook.Andrew Butcher2016-02-021-0/+1
| |
| * Add g_new_node_hosts to cluster_hosts.Andrew Butcher2016-02-022-1/+3
| |
* | Improve docs and consistency of setting the ssh_userJason DeTiberus2016-02-027-9/+9
| |
* | remove outdated commentsJason DeTiberus2016-02-022-5/+0
| |
* | add etcd hosts for gce playbooksJason DeTiberus2016-02-021-0/+11
| |
* | GCE cloud provider updatesJason DeTiberus2016-02-027-94/+49
|/ | | | | | | | | | | | - fix overrides for gce machine type and gce machine image - Update default image for origin - Update default ssh user for origin and enterprise - Remove old commented out code - Remove wip and join_node playbooks - Added add_nodes playbook which will now allow for using bin/cluster to add additional nodes - Allow env override of ssh_user - improve list playbook
* Merge pull request #1019 from dgoodwin/etcd-serialBrenton Leanhardt2016-02-021-2/+26
|\ | | | | Install and start one etcd server before the others.
| * Bring first etcd server up before others.Devan Goodwin2015-12-111-2/+26
| | | | | | | | | | | | | | | | | | In faster environments (i.e. all local VMs) etcd nodes could come online at roughly the same time leading to conflicts with self-elections, resulting in a non-functional cluster. To solve we configure the first etcd host by itself, then configure the remaining ones in parallel to keep things as fast as possible.
* | Merge pull request #1303 from talset/s3_registry_clusteridStefanie Forrester2016-02-011-1/+1
|\ \ | | | | | | s3_registry no filter named 'lookup'
| * | s3_registry no filter named 'lookup'talset2016-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | * Added a default function for the lookup. * According to [1] added default(,true) to avoid empty string [1] https://github.com/openshift/openshift-ansible/blob/master/docs/best_practices_guide.adoc#filters
* | | changed adhoc playbook to match new host monitoring containerMatt Woodson2016-02-011-1/+1
| | |
* | | Merge pull request #1309 from detiber/multi-masterStefanie Forrester2016-02-014-0/+4
|\ \ \ | | | | | | | | Multi-master fixes for provider playbooks
| * | | Multi-master fixes for provider playbooksJason DeTiberus2016-02-014-0/+4
| | | | | | | | | | | | | | | | | | | | - set openshift_master_cluster_method=native for all cloud providers so bin/cluster will build the ha masters correctly
* | | | Merge pull request #1310 from detiber/aws_hostnameStefanie Forrester2016-02-012-2/+0
|\ \ \ \ | |/ / / |/| | | Fix hostname for aws cloud provider
| * | | Fix hostname for aws cloud providerJason DeTiberus2016-01-292-2/+0
| | | | | | | | | | | | | | | | - No longer set openshift_hostname to the private ip for the instance
* | | | fix for terminateJason DeTiberus2016-02-011-1/+1
| | | |
* | | | Fix node tags for aws providerJason DeTiberus2016-02-011-1/+1
| | | |
* | | | infra_node fixesJason DeTiberus2016-02-015-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - openshift_master role update - infra_nodes was previously being set to num_infra, which is an integer value when using the cloud providers, added a new variable osm_infra_nodes that is expected to be a list of hosts - if openshift_infra_nodes is not already set, create it from the nodes that have the region=infra label. - Cloud provider config playbook updates - override openshift_router_selector for cloud providers to avoid using the default of 'region=infra' when deployment_type is not 'online' - Set openshift_infra_nodes to g_infra_host for cloud providers
* | | | Merge pull request #1114 from lhuard1A/fix_update_repos_and_packagesBrenton Leanhardt2016-01-291-1/+0
|\ \ \ \ | | | | | | | | | | Fix update_repos_and_packages playbook which now needs openshift_facts
| * | | | Move the `is_atomic` check from `update_repos_and_packages.yml` to ↵Lénaïc Huard2016-01-121-1/+0
| | | | | | | | | | | | | | | | | | | | `rhel_subscribe`
* | | | | Merge pull request #1133 from lhuard1A/increase_openstack_timeoutBrenton Leanhardt2016-01-292-2/+3
|\ \ \ \ \ | | | | | | | | | | | | Increase OpenStack stack creation/deletion timeout
| * | | | | Increase OpenStack stack creation/deletion timeoutLénaïc Huard2016-01-082-2/+3
| | | | | |
* | | | | | Merge pull request #1300 from vishpat/bug1298Brenton Leanhardt2016-01-291-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix for bug 1298
| * | | | | | Fix for bug 1298Vishal Patil2016-01-281-0/+1
| | |_|_|/ / | |/| | | |
* / | | | | Enable cockpit when not is_atomic.Andrew Butcher2016-01-291-1/+1
|/ / / / /
* | | | | Merge pull request #1264 from gaelL/s3_registry_templateStefanie Forrester2016-01-281-0/+3
|\ \ \ \ \ | | | | | | | | | | | | adhoc s3 registry - add auth part in the registry config sample
| * | | | | adhoc s3 registry - add auth part in the registry config samplegaelL2016-01-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without the auth part, after spawning the registry we were not able to do an auth. ``` docker login -u .. -p ... 172.30.234.98:5000 Error response from daemon: no successful auth challenge forhttp://172.30.234.98:5000/v2/ - errors: [] ``` Simply adding this part in the registry config sample
* | | | | | Merge pull request #1265 from talset/s3_registry_clusteridStefanie Forrester2016-01-282-4/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | Allow to have custom bucket name and region
| * | | | | | Allow to have custom bucket name and regiontalset2016-01-282-4/+6
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | File playbooks/adhoc/s3_registry/s3_registry* To be able to use a different bucket name and region, aws_bucket and aws_region are now available * Add variable for region and bucket into j2 * Update comment Usage * Add default aws_bucket_name and aws_bucket_region
* | | | | | Configure logrotate on atomic.Andrew Butcher2016-01-273-3/+0
| | | | | |
* | | | | | Merge pull request #1274 from rassie/patch-1Brenton Leanhardt2016-01-261-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix checking for update package availability
| * | | | | | Fix checking for update package availabilityNikolai Prokoschenko2016-01-261-2/+2
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | Currently, if `yum list available` returns two versions, for whatever reason, no sorting is imposed. Therefore it's possible that an upgraded package version is available but is not being detected. This patch sorts the version number list so that most recent version is always picked first.
* / | | | | Install cockpit, logrotate and fluentd unless host is atomic.Andrew Butcher2016-01-263-3/+3
|/ / / / /
* | | | | Merge pull request #1160 from vishpat/nuageBrenton Leanhardt2016-01-252-0/+4
|\ \ \ \ \ | | | | | | | | | | | | Nuage
| * | | | | Add Nuage support to openshift ansibleVishal Patil2016-01-252-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added variables Made changes for node configuration Add service restart logic to node Fixed ansible syntax errors Add cert and key info for nodes Added active and standby controller ip configuration information Uncommented the nuage sdn check Changed ca_crt -> ca_cert Added restarting of atomic openshift master Removed service account dependencies Fixes Fixed the api server url Removed redundant restart of atomic openshift master Configure nuagekubemon on all of the master nodes Restart master api and controllers as well on nuagekubemon installation Converted plugin config into template Add template for nuagekubemon Removed uplink interface from vars Able to copy cert keys Uninstall default ovs Add the kubemon template Do not install rdo sdn rpms in case of nuage Addressed latest review comments Set the networkPluginName for nuage
* | | | | | Merge pull request #1236 from detiber/add_nodesThomas Wiest2016-01-251-0/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | Remove camel case for bin/cluster addNodes
| * | | | | | Remove camel case for bin/cluster addNodesJason DeTiberus2016-01-191-0/+0
| | | | | | |
* | | | | | | Merge pull request #1177 from smunilla/install_storage_on_installBrenton Leanhardt2016-01-251-0/+18
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | v3_0_to_v3_1_upgrade: Install storage packages
| * | | | | | | v3_0_to_v3_1_upgrade: Remove is_atomic check for upgradesSamuel Munilla2016-01-141-2/+0
| | | | | | | |
| * | | | | | | v3_0_to_v3_1_upgrade: Copy tasks rather than including from the playbookSamuel Munilla2016-01-131-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggested, this should help decouple the upgrade from the config
| * | | | | | | v3_0_to_v3_1_upgrade: Install storage packagesSamuel Munilla2016-01-131-0/+3
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | Include the existing storage plugin configuration during an upgrade.
* | | | | | | Merge pull request #1250 from detiber/emptyMasterFixBrenton Leanhardt2016-01-251-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix error when oo_masters_to_config is empty
| * | | | | | | Fix error when oo_masters_to_config is emptyJason DeTiberus2016-01-211-0/+1
| | |/ / / / / | |/| | | | |
* | | | | | | Fail when master restart playbook finds no active masters rather than any ↵Andrew Butcher2016-01-221-7/+7
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | failed masters.
* | | | | | Merge pull request #1235 from detiber/cluster_hostsBrenton Leanhardt2016-01-214-64/+44
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update cluster_hosts.yml for cloud providers
| * | | | | | Update cluster_hosts.yml for cloud providersJason DeTiberus2016-01-194-64/+44
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add g_infra_hosts (nodes with sub-type infra) - Add g_compute_hosts (nodes with sub-type compute) - Reduce duplication by re-using previously defined variables
* | | | | | Merge pull request #1244 from abutcher/api-sysconfigBrenton Leanhardt2016-01-201-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Native ha port fixes
| * | | | | | Use haproxy frontend port for os_firewall.Andrew Butcher2016-01-201-0/+1
| | | | | | |