summaryrefslogtreecommitdiffstats
path: root/playbooks/common
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6549 from mgugino-upstream-stage/node-meta-depends2OpenShift Merge Robot2018-01-082-6/+0
|\ | | | | | | | | | | | | | | Automatic merge from submit-queue. Remove last of openshift_node role meta-depends Remove last non-taskless meta-depends from openshift_node role.
| * Remove last of openshift_node role meta-dependsMichael Gugino2018-01-022-6/+0
| | | | | | | | | | | | | | | | Remove last non-taskless meta-depends from openshift_node role. Remove variable 'openshift_node_upgrade_in_progress' as it is no longer used.
* | Migrate to import_role for static role inclusionScott Dodson2018-01-056-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Remove references to deployment_typeMichael Gugino2017-12-215-9/+4
| | | | | | | | | | | | | | Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
* | 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-2010-20/+20
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Relocate filter plugins to lib_utilsMichael Gugino2017-12-1812-17/+8
| | | | | | | | | | | | | | This commit relocates filter_plugings to lib_utils, changes the namespacing to prevent unintended use of older versions that may be present in filter_plugins/ directory on existing installs. Add lib_utils to meta depends for roles Also consolidate some plugins into lib_utils from various other areas. Update rpm spec, obsolete plugin rpms.
* Deprecate using Ansible tests as filtersRussell Teague2017-12-1410-30/+36
|
* Refactor node upgrade to include less serial tasksMichael Gugino2017-12-121-11/+22
| | | | | | | | | | | | | This commit moves the pulling of images, packages, and updating config files into a non-serialized play. The serialized play is now in charge of marking unschedulable, draining, stopping and restarting services, and marking schedulable. If rpm install / container download takes 60s per host, this will save 3 hours and 10 minutes at 200 hosts per cluster and forks of 20 hosts.
* Refactor upgrade codepaths step 1Michael Gugino2017-12-1227-1342/+339
| | | | | | | | | | | | | | | | 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.
* Merge pull request #6335 from kwoodson/node_groups_refactorScott Dodson2017-12-121-14/+21
|\ | | | | Node group management update.
| * Changing the node group format to a list.Kenny Woodson2017-12-111-14/+21
| |
* | Merge pull request #6414 from mgugino-upstream-stage/remove-embedded-etcdOpenShift Merge Robot2017-12-111-14/+0
|\ \ | |/ |/| | | | | | | | | | | Automatic merge from submit-queue. Remove unneeded embedded etcd logic Removing some remaining embedded etcd facts except for the migration plays.
| * Remove unneeded embedded etcd logicMichael Gugino2017-12-081-14/+0
| | | | | | | | | | Removing some remaining embedded etcd facts except for the migration plays.
* | Add openshift_facts to upgrade plays for service_typeMichael Gugino2017-12-097-0/+13
|/ | | | | Bring openshift_facts into scope for plays that utilize openshift_service_type as it is defined there.
* Merge pull request #6278 from mgugino-upstream-stage/service_typeMichael Gugino2017-12-0812-33/+29
|\ | | | | Remove openshift.common.service_type
| * Remove openshift.common.service_typeMichael Gugino2017-12-0712-33/+29
| | | | | | | | | | | | | | | | This commit removes openshift.common.service_type in favor of openshift_service_type. This commit also removes r_openshift_excluder_service_type from plays in favor of using the role's defaults.
* | Merge pull request #6371 from mtnbikenc/include-to-import_playbookOpenShift Merge Robot2017-12-0718-199/+199
|\ \ | |/ |/| | | | | | | | | | | | | | | 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-0718-199/+199
| |
* | Merge pull request #6380 from sdodson/oc-admScott Dodson2017-12-074-4/+4
|\ \ | |/ |/| Remove all uses of openshift.common.admin_binary
| * Remove all uses of openshift.common.admin_binaryScott Dodson2017-12-074-4/+4
| | | | | | | | Replace with `oc adm`
* | Merge pull request #6365 from mtnbikenc/consolidate-etcd-upgradeRussell Teague2017-12-079-161/+2
|\ \ | | | | | | Playbook Consolidation - etcd Upgrade
| * | Playbook Consolidation - etcd UpgradeRussell Teague2017-12-059-161/+2
| |/
* / Playbook Consolidation - byo/config.ymlRussell Teague2017-12-061-44/+0
|/
* Merge pull request #6154 from mtnbikenc/consolidate-openshift-loggingScott Dodson2017-12-052-38/+1
|\ | | | | Playbook Consolidation - openshift-logging
| * Playbook Consolidation - openshift-loggingRussell Teague2017-11-302-38/+1
| |
* | Merge pull request #6297 from mgugino-upstream-stage/crt_roleScott Dodson2017-12-0412-63/+1
|\ \ | | | | | | Implement container runtime role
| * | Implement container runtime roleMichael Gugino2017-12-0112-63/+1
| | |
* | | Merge pull request #6324 from mtnbikenc/consolidate-redeploy-certificatesOpenShift Merge Robot2017-12-0412-739/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Playbook Consolidation - Redeploy Certificates This PR moves the certificate redeploy playbooks out of {byo,common}/openshift-cluster and into their respective component areas. - playbooks/openshift-etcd (redeploy-certificates.yml, redeploy-ca.yml) - playbooks/openshift-master (redeploy-certificates.yml, redeploy-openshift-ca.yml) - playbooks/openshift-node (redeploy-certificates.yml) - playbooks/openshift-hosted (redeploy-registry-certificates.yml, redeploy-router-certificates.yml) playbooks/byo/openshift-cluster/redeploy-certificates.yml was moved to playbooks/redeploy-certificates.yml Trello: https://trello.com/c/zCz6RIHM/578-2-playbook-consolidation-openshift-cluster-redeploy-certificates
| * | | Playbook Consolidation - Redeploy CertificatesRussell Teague2017-12-0112-739/+0
| | | |
* | | | Merge pull request #6321 from sdodson/v3_9Scott Dodson2017-12-027-0/+430
|\ \ \ \ | | | | | | | | | | Add v3.9 support
| * | | | Add v3.9 supportScott Dodson2017-11-307-0/+430
| | |_|/ | |/| |
* | | | Merge pull request #6069 from kwoodson/upgrade_scale_groupsScott Dodson2017-12-011-0/+59
|\ \ \ \ | |_|_|/ |/| | | Initial upgrade for scale groups.
| * | | Initial upgrade for scale groups.Kenny Woodson2017-11-291-0/+59
| |/ /
* | / retry package operationsLuke Meyer2017-11-301-0/+2
| |/ |/| | | | | | | | | When a package install/update fails due to network blips or other spotty availability, retry it. If the failure is a real failure (e.g. package is really not there) it still fails after 3 tries (Ansible default).
* | Merge pull request #6282 from mtnbikenc/fix-include_roleScott Dodson2017-11-303-3/+4
|\ \ | |/ |/| Correct usage of include_role
| * Correct usage of include_roleRussell Teague2017-11-273-3/+4
| | | | | | | | Switch to import_role for some required roles.
* | Merge pull request #6268 from mgugino-upstream-stage/combine-dnsmasq-with-nodeMichael Gugino2017-11-281-55/+0
|\ \ | | | | | | Combine openshift_node and openshift_node_dnsmasq
| * | Combine openshift_node and openshift_node_dnsmasqMichael Gugino2017-11-271-55/+0
| |/ | | | | | | | | This commit combines these two roles. This will prevent openshift_node_facts from running twice.
* / Remove openshift.common.cli_imageMichael Gugino2017-11-271-1/+1
|/ | | | | This commit removes openshift.common.cli_image in favor of openshift_cli_image.
* Merge pull request #6134 from fraenkel/allow_falseScott Dodson2017-11-241-2/+2
|\ | | | | Allow openshift_install_examples to be false
| * Allow openshift_install_examples to be falseMichael Fraenkel2017-11-221-2/+2
| | | | | | | | when using yaml or json, a false value is converted to true
* | Merge pull request #6227 from adelton/issue-5517Scott Dodson2017-11-241-1/+1
|\ \ | |/ |/| Workaround the fact that package state=present with dnf fails for already installed but excluded packages.
| * With dnf repoquery and excluded packages, --disableexcludes=all is needed to ↵Jan Pazdziora2017-11-221-1/+1
| | | | | | | | list the package with --installed.
* | Merge pull request #6237 from mtnbikenc/remove-unused-tasksRussell Teague2017-11-223-41/+0
|\ \ | | | | | | Remove unused task files
| * | Remove unused task filesRussell Teague2017-11-223-41/+0
| | |
* | | Merge pull request #6231 from mtnbikenc/include-deprecation-openshift-masterRussell Teague2017-11-221-2/+2
|\ \ \ | | | | | | | | Include Deprecation - openshift-master
| * | | Include Deprecation - openshift-masterRussell Teague2017-11-221-2/+2
| | | |
* | | | Merge pull request #6221 from mtnbikenc/consolidate-openshift-service-catalogRussell Teague2017-11-222-34/+1
|\ \ \ \ | | | | | | | | | | Playbook Consolidation - openshift-service-catalog
| * | | | Playbook Consolidation - openshift-service-catalogRussell Teague2017-11-222-34/+1
| |/ / /