summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
Commit message (Collapse)AuthorAgeFilesLines
* Switch from "oadm" to "oc adm" and fix bug in binary sync.Devan Goodwin2016-10-191-3/+3
| | | | | | | | Found bug syncing binaries to containerized hosts where if a symlink was pre-existing, but pointing to the wrong destination, it would not be corrected. Switched to using oc adm instead of oadm.
* Fix standalone docker upgrade playbook skipping nodes.Devan Goodwin2016-10-131-0/+2
| | | | | Transition to being able to specify nodes to upgrade caused standalone nodes to get skipped in this playbook.
* Merge pull request #2441 from dgoodwin/34-upgrade-improvementsAndrew Butcher2016-10-045-57/+294
|\ | | | | 3.4 Upgrade Improvements
| * Use pre_upgrade tag instread of a dry run variable.Devan Goodwin2016-09-293-19/+70
| |
| * Move etcd backup from pre-upgrade to upgrade itself.Devan Goodwin2016-09-292-4/+0
| |
| * Skip the docker role in early upgrade stages.Devan Goodwin2016-09-293-12/+18
| | | | | | | | | | | | | | | | This improves the situation further and prevents configuration changes from accidentally triggering docker restarts, before we've evacuated nodes. Now in two places, we skip the role entirely, instead of previous implementation which only skipped upgrading the installed version. (which did not catch config issues)
| * Allow filtering nodes to upgrade by label.Devan Goodwin2016-09-294-16/+16
| |
| * Split upgrade for control plane/nodes.Devan Goodwin2016-09-294-22/+84
| |
| * Verify masters are upgraded before proceeding with node only upgrade.Devan Goodwin2016-09-282-2/+8
| |
| * Attempt to tease apart pre upgrade for masters/nodes.Devan Goodwin2016-09-283-2/+147
| |
| * Split upgrade entry points into control plane/node.Devan Goodwin2016-09-283-48/+19
| |
* | Update play names for consistency.Andrew Butcher2016-09-291-2/+4
|/
* Fix OpenStack cloud providerLénaïc Huard2016-09-261-3/+3
|
* Remove atomic check and cockpit.socketSamuel Munilla2016-08-261-1/+1
|
* Add support for Atomic Registry InstallsSamuel Munilla2016-08-261-0/+1
| | | | Add the Registry deployment subtype as an option in the quick installer.
* [tags] add some support for running a subset of config via tagsJason DeTiberus2016-08-241-0/+4
|
* Fix standalone Docker upgrade missing symlink.Devan Goodwin2016-08-191-0/+1
|
* Support for redeploying certificates.Andrew Butcher2016-08-112-1/+25
|
* Merge pull request #2211 from dgoodwin/33-upgrade-playbookScott Dodson2016-08-084-5/+100
|\ | | | | 1.3 / 3.3 Upgrades
| * Upgrade configs for protobuf support.Devan Goodwin2016-08-081-0/+2
| |
| * Introduce 1.3/3.3 upgrade path.Devan Goodwin2016-07-254-5/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the 3.2 upgrade common files out to a path that does not indicate they are strictly for 3.2. 3.3 upgrade then becomes a relatively small copy of the byo entry point, all calling the same code as 3.2 upgrade. Thus far there are no known 3.3 specific upgrade tasks. In future we will likely want to allow hooks out to version specific pre/upgrade/post tasks. Also fixes a bug where the handlers were not restarting nodes/openvswitch containers doing upgrades, due to a change in Ansible 2+.
* | Convert ansible facts callback to v2.Andrew Butcher2016-08-081-1/+1
|/
* Correct relative include for ansible version check.Andrew Butcher2016-07-211-1/+1
|
* Check ansible version prior to evaluating cluster hosts and groups.Andrew Butcher2016-07-203-0/+6
|
* Resolve some deprecation warnings.Andrew Butcher2016-07-181-1/+1
|
* Remove 3.0 and 3.1 upgrade sub-dirs.Devan Goodwin2016-07-123-54/+0
|
* Rename upgrade to just v3_2 as it's now major and minor.Devan Goodwin2016-07-122-0/+0
|
* Fixes for Ansible 2.1.Devan Goodwin2016-07-041-4/+0
|
* Update repoquery_cmd definitions to match latest in master.Devan Goodwin2016-07-041-1/+1
|
* Merge branch 'master' into upgrade33Devan Goodwin2016-06-281-2/+1
|\
| * Block Docker 1.10 upgrade playbook when run against an Atomic OS.Devan Goodwin2016-06-171-4/+5
| |
* | More docker upgrade fixes.Devan Goodwin2016-06-271-5/+7
| |
* | Refactor 3.2 upgrade to avoid killing nodes without evac.Devan Goodwin2016-06-232-108/+3
| | | | | | | | | | We now handle the two pieces of upgrade that require a node evac in the same play. (docker, and node itself)
* | Update docker upgrade playbook to be more flexible.Devan Goodwin2016-06-231-18/+41
| | | | | | | | | | | | | | | | | | | | Now more of a generic upgrade playbook to go to the latest Docker version. Added support for docker_version inventory variable, in which case we disable the check for >= 1.10 and make sure you're running at least the specified version. (we will not downgrade you to the requested version however, this is much too complicated)
* | Merge branch 'master' into upgrade33Devan Goodwin2016-06-231-2/+2
|\|
| * Fix docker 1.10 upgrade on embedded etcd masters.Devan Goodwin2016-06-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | The tasks were attempting to stop/start etcd, which would be fine on the stop but on start could actually kick the non-containerized etcd service which happens to be layed down even though it's unused. When the service was requested to start again it would claim the port embedded etcd needs and the master would then fail to come up. Instead use the correct etcd_container service.
* | Remove old upgrade playbooks.Devan Goodwin2016-06-153-88/+0
|/
* Restore mistakenly reverted code.Devan Goodwin2016-06-091-0/+4
|
* Docker 1.10 UpgradeDevan Goodwin2016-06-035-4/+158
| | | | | | | | | | | | | | | | | Adds a separate playbook for Docker 1.10 upgrade that can be run standalone on a pre-existing 3.2 cluster. The upgrade will take each node out of rotation, and remove *all* containers and images on it, as this is reportedly faster and more storage efficient than performing the in place 1.10 upgrade. This process is integrated into the 3.1 to 3.2 upgrade process. Normal config playbooks now become 3.2 only, and require Docker 1.10. Users of older environments will have to use an appropriate openshift-ansible version. Config playbooks no longer are in the business of upgrading or downgrading docker.
* Run rhel_subscribe on l_oo_all_hosts rather than allScott Dodson2016-06-021-1/+1
|
* Fix for ansible v2Scott Dodson2016-05-171-3/+17
|
* Fix rhel_subscribeScott Dodson2016-05-171-0/+4
|
* remove interpolated g_all_hosts with_items arg from upgrade playbooksCody Boggs2016-05-173-3/+3
|
* Block upgrading w/ ansible v2.Andrew Butcher2016-05-124-0/+16
|
* Remove vars_files on play includes for upgrade playbooks.Andrew Butcher2016-05-124-26/+72
|
* Merge pull request #1869 from dgoodwin/upgrade-registriesJason DeTiberus2016-05-091-0/+25
|\ | | | | Fix cli_docker_additional_registries being erased during upgrade.
| * Fix cli_docker_additional_registries being erased during upgrade.Devan Goodwin2016-05-091-0/+25
| | | | | | | | | | | | Legacy options (cli_*) were not being migrated during upgrade. Add the oo_all_hosts group, and migrate the facts as we do in the normal cluster playbooks.
* | Enable dnsmasq on all hostsScott Dodson2016-05-061-0/+18
|/ | | | | | - Reconfigures masters to use port 8053 for SkyDNS - Runs openshift_node_dnsmasq role on all nodes - Reconfigures node to use dnsmasq
* Remove vars_files on play includes for byo, scaleup and restart playbooks.Andrew Butcher2016-05-055-10/+74
|
* a-o-i: Populate groups for openshift_factsSamuel Munilla2016-04-271-0/+10
| | | | | openshift_facts is currently failing because it doesn't properly set up groups after the proxy changes we made. This fixes that.