summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/docker/docker_upgrade.yml
Commit message (Collapse)AuthorAgeFilesLines
* Fix docker_upgrade variableMichael Gugino2018-02-121-1/+1
| | | | | | | | | Currently, docker_upgrade is ignored during cluster upgrades. This commit ensures that the variable is respected. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1543714
* Add the ability to specify a timeout for node drain operationsScott Dodson2018-01-101-3/+9
|
* Migrate to import_role for static role inclusionScott Dodson2018-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | In Ansible 2.2, the include_role directive came into existence as a Tech Preview. It is still a Tech Preview through Ansible 2.4 (and in current devel branch), but with a noteable change. The default behavior switched from static: true to static: false because that functionality moved to the newly introduced import_role directive (in order to stay consistent with include* being dynamic in nature and `import* being static in nature). The dynamic include is considerably more memory intensive as it will dynamically create a role import for every host in the inventory list to be used. (Also worth noting, there is at the time of this writing an object allocation inefficiency in the dynamic include that can in certain situations amplify this effect considerably) This change is meant to mitigate the pressure on memory for the Ansible control host. We need to evaluate where it makes sense to dynamically include roles and revert back to dynamic inclusion if and where it makes sense to do so.
* Move validate_hosts to prerequisites.ymlMichael Gugino2017-12-201-3/+0
| | | | | | Move more checks outside of init/main.yml for speeding up upgrades and other operational plays that need to run.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-201-2/+2
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Deprecate using Ansible tests as filtersRussell Teague2017-12-141-4/+4
|
* Refactor upgrade codepaths step 1Michael Gugino2017-12-121-1/+3
| | | | | | | | | | | | | | | | This commit refactors some upgrade code paths. Touched areas are: 1) Reduces usage of 'oo_all_hosts' in various places, especially when running upgrade_control_plane. 2) Reuses common code across the various upgrade* playbooks. 3) Moves docker upgrade checks into container_runtime_role. 4) Combines smaller playbooks and plays to reduce file sprawl.
* Add openshift_facts to upgrade plays for service_typeMichael Gugino2017-12-091-0/+1
| | | | | Bring openshift_facts into scope for plays that utilize openshift_service_type as it is defined there.
* Merge pull request #6371 from mtnbikenc/include-to-import_playbookOpenShift Merge Robot2017-12-071-4/+4
|\ | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Include Deprecation: Convert to import_playbook * Converts playbooks/ to use `import_playbook`. * Updates remaining `include:` tasks to `include_tasks:` Trello: https://trello.com/c/ZTyZu3UM/484-3-ansible-24-include-deprecation
| * Include Deprecation: Convert to import_playbookRussell Teague2017-12-071-4/+4
| |
* | Remove all uses of openshift.common.admin_binaryScott Dodson2017-12-071-1/+1
|/ | | | Replace with `oc adm`
* Playbook Consolidation - InitializationRussell Teague2017-11-151-1/+1
|
* Remove openshift-commonMichael Gugino2017-09-061-1/+0
| | | | | | | | | Most of this role's purpose was to set facts. The vast majority of these facts were simply redefining user-supplied variables. This commit also removes various artifacts leftover from previous versions, as well as variables that seem to be entirely unused.
* Test: Fail on entry point playbooks in commonRussell Teague2017-08-291-1/+1
|
* Merge pull request #4778 from jkaurredhat/drain_upgrade-1.6Scott Dodson2017-07-181-1/+1
|\ | | | | drain still pending in below files without fix :
| * drain still pending in below files without fix :jkaurredhat2017-07-181-1/+1
| | | | | | | | | | | | | | playbooks/common/openshift-cluster/upgrades/docker/docker_upgrade.yml playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml Signed-off-by: jkaurredhat <jkaur@redhat.com>
* | Add drain retries after 60 second delayScott Dodson2017-07-181-0/+4
|/
* Refactor docker upgrade playbooksRussell Teague2017-04-101-0/+71
The playbooks were crossing byo/common boundaries for task includes. This moves all 'common' files/tasks into the 'common' folder.