summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/init.yml
Commit message (Collapse)AuthorAgeFilesLines
* Add base package installation to upgrade playbooksRussell Teague2018-02-071-0/+1
| | | | | | | | Hosts will need python ipaddress module installed if it was not installed during initial installation. Bug 1540537 https://bugzilla.redhat.com/show_bug.cgi?id=1540537
* Install base_packages earlierMichael Gugino2018-01-221-1/+2
| | | | | | | | | | | | Currently, openshift_facts requires pyyaml to be installed. This package is installed via init/base_packages.yml, which is currently called after init/facts.yml. This results in a situation where installs will fail due to missing python dependency. This commit splits init/facts.yml into two, and allows base_packages.yml to be run before the openshift_facts.py plugin is executed.
* Refactor upgrade codepaths step 1Michael Gugino2017-12-121-1/+1
| | | | | | | | | | | | | | | | 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.
* Include Deprecation: Convert to import_playbookRussell Teague2017-12-071-2/+2
|
* Playbook Consolidation - InitializationRussell Teague2017-11-151-2/+2
|
* Fix preupgrade authorization objects are in sync minor versionsMichael Gugino2017-11-081-0/+5
| | | | | | | | | | | | | | Currently, we check that upgrade target is less than 3.8, but this will break for minor upgrades. This commit set's a fact early in the upgrade process to deterime what the currently installed version on the first master is. This fact is used to determine if our currently installed version is less than 3.7. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508301
* Remove oo_option facts.Andrew Butcher2017-09-291-2/+0
|
* 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.
* Revert "Add health checks to upgrade playbook"Rodolfo Carvalho2017-07-281-2/+0
|
* add pre-flight checks to ugrade pathjuanvallejo2017-07-261-0/+2
|
* Ensure repo cache is clean on the first runRussell Teague2017-05-031-11/+0
| | | | | | The openshift_repos role is modified to clean the repo cache on first run to ensure a clean cache in the situation where the repo files have been changed manually, such as just prior to upgrades.
* Refactor initialize groups tasksRussell Teague2017-04-121-24/+0
| | | | | | | | | | | | 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 use of initialize_oo_option_facts.ymlRussell Teague2017-04-101-21/+1
|
* Switch from ignoring to passing on checksRussell Teague2017-04-061-1/+1
|
* 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.
* Create v3_5 upgrade playbooksRussell Teague2017-01-301-0/+14
|
* Adding names to plays and standardizingRussell Teague2017-01-271-2/+6
|
* Standardize add_host: with name and changed_whenRussell Teague2017-01-251-1/+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.
* Cleaning repo cache earlierRussell Teague2017-01-191-2/+15
|
* Removed verify_ansible_version playbook refsRussell Teague2016-12-081-2/+0
|
* Template with_items for upstream ansible-2.2 compat.Andrew Butcher2016-10-141-1/+1
|
* Allow filtering nodes to upgrade by label.Devan Goodwin2016-09-291-0/+2
|
* Split upgrade for control plane/nodes.Devan Goodwin2016-09-291-1/+1
|
* Split upgrade entry points into control plane/node.Devan Goodwin2016-09-281-0/+48