summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3900 from mtnbikenc/refactor-network-managerOpenShift Bot2017-04-131-40/+2
|\ | | | | Merged by openshift-bot
| * Standardize use of byo and common for network_manager.ymlRussell Teague2017-04-121-40/+2
| |
* | Refactor initialize groups tasksRussell Teague2017-04-1232-138/+106
|/ | | | | | | | | | | | 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-299-13/+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.
* Added 3.5 -> 3.6 upgrade playbooksSteve Kuznetsov2017-03-245-0/+349
|
* Merge pull request #3626 from mtnbikenc/module_renameOpenShift Bot2017-03-151-2/+2
|\ | | | | Merged by openshift-bot
| * Renaming oadm_manage_node to oc_adm_manage_nodeRussell Teague2017-03-101-2/+2
| |
* | re-enable excluders if they are enabled after openshift version detectionJan Chaloupka2017-03-091-0/+2
|/
* Merge pull request #3529 from ingvagabund/upgrade-excluders-in-upgrade-onlyJan Chaloupka2017-03-079-9/+9
|\ | | | | WIP: update excluders to latest by default, in non-upgrade scenarios do not update
| * - update excluders to latest, in non-upgrade scenarios do not updateJan Chaloupka2017-03-079-9/+9
| | | | | | | | | | | | - check both available excluder versions are at most of upgrade target version - get excluder status through status command - make excluders enablement configurable
* | Add oc_objectvalidator to upgrade checkScott Dodson2017-03-072-0/+8
|/
* Fix issue #3505, add notes about origin upgrade versions support in BYO ↵Stéphane Klein2017-02-271-2/+2
| | | | upgrade README file
* Fix typo, add symlinks for rolesScott Dodson2017-02-172-2/+2
| | | | Fixes Bug 1423425
* Merge pull request #3370 from adbaldi/workScott Dodson2017-02-161-1/+1
|\ | | | | Fixed issue where upgrade fails when using daemon sets (e.g. aggregated logging)
| * Fixed issue where upgrade fails when using daemon sets (e.g. aggregated logging)Andrew Baldi2017-02-151-1/+1
| |
* | initialize oo_nodes_to_upgrade group when running control plane upgrade onlyJan Chaloupka2017-02-163-0/+9
| |
* | Merge pull request #3367 from soltysh/upgrade_jobsScott Dodson2017-02-152-0/+4
|\ \ | | | | | | Add upgrade job step after the entire upgrade performs
| * | Add upgrade job step after the entire upgrade performsMaciej Szulik2017-02-152-0/+4
| |/
* / upgrades: fix path to disable_excluder.ymlJan Chaloupka2017-02-151-1/+1
|/
* Modify playbooks to use oadm_manage_node moduleRussell Teague2017-02-131-7/+24
|
* Introduce tag notation for checksRodolfo Carvalho2017-02-101-3/+1
| | | | This allows us to refer to a group of checks using a single handle.
* Replace multi-role checks with action pluginRodolfo Carvalho2017-02-101-29/+12
| | | | | | | | | | | | | | | | | | This approach should make it easier to add new checks without having to write lots of YAML and doing things against Ansible (e.g. ignore_errors). A single action plugin determines what checks to run per each host, including arguments to the check. A check is implemented as a class with a run method, with the same signature as an action plugin and module, and is normally backed by a regular Ansible module. Each check is implemented as a separate Python file. This allows whoever adds a new check to focus solely in a single Python module, and potentially an Ansible module within library/ too. All checks are automatically loaded, and only active checks that are requested by the playbook get executed.
* Fix playbooks/byo/openshift_facts.yml include pathScott Dodson2017-02-071-1/+1
| | | | Fixes Bug 1419893
* Add missing symlink to rolesRodolfo Carvalho2017-02-071-0/+1
| | | | | | | | | It turned out that the playbook `playbooks/byo/openshift-preflight/check.yml` would only work under a certain `ansible.cfg` in which `roles/` was added to `roles_path`. It was the case with the example config prior to b804e70cdd0bc8601bfc87fcf3e34043223828ee.
* Merge pull request #3261 from sdodson/excluderScott Dodson2017-02-069-0/+36
|\ | | | | Manage the excluder functionality
| * Move excluder disablement into control plane and node upgrade playbooksScott Dodson2017-02-069-0/+36
| | | | | | | | | | So that excluder is disabled and reset within the scope of each of those in addition to the overall playbook
* | Fix RHEL Subscribe std_include pathTim Bielawa2017-02-061-1/+1
|/ | | | Closes #3268
* Restructure certificate redeploy playbooksAndrew Butcher2017-02-0216-124/+85
|
* Create v3_5 upgrade playbooksRussell Teague2017-01-306-2/+322
|
* Adding names to plays and standardizingRussell Teague2017-01-2715-34/+85
|
* 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-2512-19/+41
|/ | | | | | | 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/+2
|
* Merge pull request #3093 from mtnbikenc/upgrade-fixScott Dodson2017-01-191-0/+2
|\ | | | | Correct consistency between upgrade playbooks
| * Correct consistency between upgrade playbooksRussell Teague2017-01-131-0/+2
| |
* | Perform master upgrades in a single play serially.Devan Goodwin2017-01-181-1/+11
| |
* | Validate system restart policy during pre-upgrade.Devan Goodwin2017-01-185-0/+18
| | | | | | | | | | | | | | | | | | | | This was done far into the process potentially leaving the user in a difficult situation if they had now considered they were running the upgrade playbook on a host that would be restarted. Instead check configuration and what host we're running on in pre-upgrade and allow the user to abort before making any substantial changes. This is a step towards merging master upgrade into one serial process.
* | Merge pull request #2640 from ewolinetz/logging_deployer_tasksScott Dodson2017-01-171-0/+35
|\ \ | | | | | | Logging deployer tasks
| * | minor updates for code reviews, remove unused paramsJeff Cantrill2016-12-191-0/+5
| | |
| * | Creating openshift_logging role for deploying Aggregated Logging without a ↵ewolinetz2016-12-141-0/+30
| | | | | | | | | | | | deployer image
* | | 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.
* | | | Merge pull request #3083 from rhcarvalho/doc-playbooksScott Dodson2017-01-171-0/+11
|\ \ \ \ | | | | | | | | | | Document playbook directories
| * | | | Document playbook directoriesRodolfo Carvalho2017-01-131-0/+11
| | |_|/ | |/| |
* | | | Rename subrole facts -> initRodolfo Carvalho2017-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trying to improve the name, `init` needs to be loaded before calling other subroles. We don't make `init` a dependency of `common`, `masters` and `nodes` to avoid running the relatively slow `openshift_facts` multiple times.
* | | | Replace custom variables with openshift_factsRodolfo Carvalho2017-01-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: on a simple example run of ansible-playbook against a single docker-based host, I saw the execution time jump from 7s to 17s. That's unfortunate, but it is probably better to reuse openshift_facts, than to come up with new variables.
* | | | Move playbook to BYORodolfo Carvalho2017-01-122-0/+75
|/ / / | | | | | | | | | Because that's the main playbook directory in use.
* | | Add a fact to select --evacuate or --drain based on your OCP versionTim Bielawa2017-01-111-1/+1
| | | | | | | | | | | | Closes #3070