summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-cluster/upgrades/docker
Commit message (Collapse)AuthorAgeFilesLines
* Include Deprecation: Convert to import_playbookRussell Teague2017-12-071-2/+2
|
* Playbook Consolidation - InitializationRussell Teague2017-11-151-1/+1
|
* Refactor initialize groups tasksRussell Teague2017-04-121-23/+1
| | | | | | | | | | | | Two tasks for initializing group names for the byo playbooks was located in the common folder in the std_include.yml file. Byo dependencies should not be in the common folder. The two tasks have been removed from common/openshift-cluster/std_include.yml to a new file byo/openshift-cluster/initialize_groups.yml. All references where these tasks were included from either std_include.yml or other various files have been updated to use the byo initialize_groups.yml. The methodology implemented follows the pattern of having groups set up in byo then calling out to playbooks in common, which are common to all deployments.
* Refactor docker upgrade playbooksRussell Teague2017-04-104-74/+1
| | | | | The playbooks were crossing byo/common boundaries for task includes. This moves all 'common' files/tasks into the 'common' folder.
* validate and normalize inventory variablesLuke Meyer2017-03-291-1/+0
| | | | | | | | | | In openshift_repos and everywhere, ensure deployment_type and openshift_deployment_type are defined and the same. We really want to set openshift_deployment_type, but users will likely still have just deployment_type, so accept both. And don't make every playbook default openshift_deployment_type to deployment_type. This introduces the openshift_sanitize_inventory role to run before anything else.
* Renaming oadm_manage_node to oc_adm_manage_nodeRussell Teague2017-03-101-2/+2
|
* Fixed issue where upgrade fails when using daemon sets (e.g. aggregated logging)Andrew Baldi2017-02-151-1/+1
|
* Modify playbooks to use oadm_manage_node moduleRussell Teague2017-02-131-7/+24
|
* Adding names to plays and standardizingRussell Teague2017-01-271-2/+8
|
* Merge pull request #3198 from mtnbikenc/drain-fixRussell Teague2017-01-261-1/+1
|\ | | | | Correct usage of draining nodes
| * Correct usage of draining nodesRussell Teague2017-01-261-1/+1
| |
* | Standardize add_host: with name and changed_whenRussell Teague2017-01-251-2/+3
|/ | | | | | | The add_host: task does not change any data on the host and as practice has been configured to changed_when: False. This commit standardizes that usage in the byo and common playbooks. Additionally, taks names are added to each task to improve troubleshooting.
* Merge pull request #2786 from dgoodwin/docker-1.12Scott Dodson2017-01-171-2/+0
|\ | | | | Begin requiring Docker 1.12.
| * Begin requiring Docker 1.12.Devan Goodwin2016-11-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Building off the work done for Docker 1.10, we now require Docker 1.12 by default. The upgrade process was already set to ensure you are running the latest docker during upgrade, and the standalone docker upgrade playbook can also be used if desired. As before, you can override this Docker 1.12 requirement by setting a docker_version=1.10.3 (or similar), and you can skip the default to upgrade docker by setting docker_upgrade=False.
* | Add a fact to select --evacuate or --drain based on your OCP versionTim Bielawa2017-01-111-1/+1
| | | | | | | | Closes #3070
* | Deprecate node 'evacuation' with 'drain'Tim Bielawa2016-12-161-4/+4
| | | | | | | | * https://trello.com/c/TeaEB9fX/307-3-deprecate-node-evacuation
* | YAML LintingRussell Teague2016-12-122-2/+2
| | | | | | | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* | Remove duplicate when keyRussell Teague2016-11-291-1/+0
|/
* Revert "Revert openshift.node.nodename changes"Scott Dodson2016-11-081-5/+5
|
* Revert "Fix OpenStack cloud provider"Scott Dodson2016-11-071-5/+5
| | | | This reverts commit 1f2276fff1e41c1d9440ee8b589042ee249b95d7.
* Merge pull request #2621 from dgoodwin/symlink-fixScott Dodson2016-10-191-3/+3
|\ | | | | Switch from "oadm" to "oc adm" and fix bug in binary sync.
| * 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.
* | Template with_items for upstream ansible-2.2 compat.Andrew Butcher2016-10-141-1/+1
|/
* 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.
* Allow filtering nodes to upgrade by label.Devan Goodwin2016-09-291-5/+5
|
* Fix OpenStack cloud providerLénaïc Huard2016-09-261-3/+3
|
* Fix standalone Docker upgrade missing symlink.Devan Goodwin2016-08-191-0/+1
|
* 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)
* 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.
* Docker 1.10 UpgradeDevan Goodwin2016-06-034-0/+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.