summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4397 from sosiouxme/20170608-include-more-install-checksOpenShift Bot2017-06-141-0/+5
|\ | | | | Merged by openshift-bot
| * pre-install checks: add more during byo installLuke Meyer2017-06-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Add the docker and RPM checks to the list that run at install time. They can be disabled the same as the existing ones. Removed cockpit-kubernetes RPM requirement as it no longer is. Fixed up docker_image_availability to handle oreg_url and other nuances. Switched to using the openshift_image_tag that's set by openshift_version for both component and infrastructure images. Fixed a bug where execute_module was being called with incorrect positional arg "tmp" as a dict which caused errors down the call stack.
* | Separate etcd and OpenShift CA redeploy playbooks.Andrew Butcher2017-06-092-1/+11
|/
* Skip router/registry cert redeploy when ↵Andrew Butcher2017-05-301-0/+2
| | | | openshift_hosted_manage_{router,registry}=false
* health checks: configure failure output in playbooksLuke Meyer2017-05-232-12/+13
| | | | | Customized the error summary to depend on the intent of the playbook run. Ensured output makes sense when failures are unrelated to running checks.
* Verify memory and disk requirements before installRodolfo Carvalho2017-05-231-0/+12
|
* health check playbooks: relocate and expandLuke Meyer2017-05-2214-58/+195
| | | | | | | | | | | | | | | | | | We are moving toward having adhoc post-install checks and so the "preflight" designation needs to be widened. Updated location to playbooks/byo/openshift-checks, added health check playbook, and updated README. Also included the certificate_expiry playbooks. Left behind symlinks and wrappers for existing checks. To conform with the direction of the rest of the repo, the openshift-checks playbooks are split into two directories, one under playbooks/common with the actual invocation and one under playbooks/byo for entrypoints that are just wrappers for the ones in common. Because the certificate_expiry playbooks are intended not just to be functional but to be examples that users modify, I did not split them similarly. That could happen later after discussion but for now I just left them whole under byo/openshift-checks/certificate_expiry.
* Merge pull request #4118 from mtnbikenc/fix-groupsOpenShift Bot2017-05-103-4/+7
|\ | | | | Merged by openshift-bot
| * Temporarily revert to OSEv3 host group usageRussell Teague2017-05-093-4/+7
| |
* | GlusterFS: Allow swapping an existing registry's backend storageJose A. Rivera2017-05-041-1/+7
| | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | GlusterFS: Allow for a separate registry-specific playbookJose A. Rivera2017-05-047-0/+117
|/ | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Merge pull request #4038 from mtnbikenc/upgrade-refactorOpenShift Bot2017-05-0216-1216/+12
|\ | | | | Merged by openshift-bot
| * v3.3 Upgrade RefactorRussell Teague2017-05-024-302/+3
| |
| * v3.4 Upgrade RefactorRussell Teague2017-05-024-298/+3
| |
| * v3.5 Upgrade RefactorRussell Teague2017-05-024-308/+3
| |
| * v3.6 Upgrade RefactorRussell Teague2017-05-024-308/+3
| |
* | Merge pull request #4045 from kwoodson/normalize_groupsOpenShift Bot2017-05-024-17/+5
|\ \ | | | | | | Merged by openshift-bot
| * | Normalizing groups.Kenny Woodson2017-05-014-17/+5
| |/
* / Remove std_include from playbooks/byo/rhel_subscribe.ymlAndrew Butcher2017-05-011-4/+0
|/
* Refactor etcd rolesJan Chaloupka2017-04-281-0/+14
| | | | | | | | - introduce block and simplify when conditions - introduce config.yml so the self-standing etcd role can be run (e.g. to test etcd cluster deployment) - remove empty task files - skip dependency on openshift_etcd_ca - replace cert paths with their appropriate variables
* Merge pull request #3948 from mtnbikenc/metrics-fixScott Dodson2017-04-181-0/+4
|\ | | | | Create openshift-metrics entrypoint playbook
| * Create openshift-metrics entrypoint playbookRussell Teague2017-04-181-0/+4
| |
* | Minor v3.6 upgrade docs fixesRussell Teague2017-04-182-6/+9
|/
* Merge pull request #3793 from jarrpa/glusterfs-registryOpenShift Bot2017-04-171-0/+2
|\ | | | | Merged by openshift-bot
| * Integrate GlusterFS into OpenShift installationJose A. Rivera2017-04-101-0/+2
| | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | 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.