summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Relocate filter plugins to lib_utilsMichael Gugino2017-12-1852-112/+78
| | | | | | | | | | | | | | 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.
* Merge pull request #6489 from mgugino-upstream-stage/fix-repos-v2Michael Gugino2017-12-153-6/+6
|\ | | | | Fix rhel_subscribe boolean
| * Fix rhel_subscribe booleanMichael Gugino2017-12-153-6/+6
| | | | | | | | | | | | | | This commit fixes a variable name to it's correct name used in a when condition. Also makes use of 'is defined' consistent.
* | Merge pull request #6484 from mtnbikenc/tests-as-filtersRussell Teague2017-12-1516-44/+50
|\ \ | |/ |/| Deprecate using Ansible tests as filters
| * Deprecate using Ansible tests as filtersRussell Teague2017-12-1416-44/+50
| |
* | Merge pull request #6483 from mgugino-upstream-stage/fix-reposScott Dodson2017-12-144-5/+6
|\ \ | | | | | | Move repo and subscribe to prerequisites
| * | Move repo and subscribe to prerequisitesMichael Gugino2017-12-144-5/+6
| |/ | | | | | | | | This commit refactors some steps in rhel subscribe and moves repos.yml from init/main to prerequisites.
* | Merge pull request #5970 from mtnbikenc/fix-1506750OpenShift Merge Robot2017-12-141-7/+27
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. 1506750 Validate node hostname and IP address - Replaces use of `pause` with a `fail` task. `pause` only runs on one host, therefore the check was not run for all nodes - Adds check for valid openshift_ip Fixes 1506750 https://bugzilla.redhat.com/show_bug.cgi?id=1506750
| * | Validate node hostname and IP addressRussell Teague2017-12-131-7/+27
| | | | | | | | | | | | | | | | | | Fixes 1506750 https://bugzilla.redhat.com/show_bug.cgi?id=1506750
* | | Merge pull request #6463 from mgugino-upstream-stage/openshift-service-type-fixOpenShift Merge Robot2017-12-141-0/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Add missing openshift_service_type Pull in openshift_facts to define the variable. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1525429
| * | Add missing openshift_service_typeMichael Gugino2017-12-131-0/+1
| |/ | | | | | | | | | | Pull in openshift_facts to define the variable. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1525429
* | Merge pull request #6404 from mazzystr/stablize_rhsmScott Dodson2017-12-141-0/+8
|\ \ | | | | | | Commit to stabilize RHSM operations. This code is derived from contrib
| * | Commit to stabalize RHSM operations. This code is derived from contribChris Callegari2017-12-141-0/+8
| | |
* | | 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.
* | Merge pull request #6451 from mgugino-upstream-stage/remove-empty-hosted-factsScott Dodson2017-12-121-1/+0
|\ \ | | | | | | Remove empty openshift_hosted_facts role
| * | Remove empty openshift_hosted_facts roleMichael Gugino2017-12-121-1/+0
| |/ | | | | | | This commit removes a now-empty role.
* | 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-122-16/+23
|\ | | | | Node group management update.
| * Changing the node group format to a list.Kenny Woodson2017-12-112-16/+23
| |
* | Merge pull request #6381 from bogdando/dns_hostname_prefixesOpenShift Merge Robot2017-12-121-5/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Allow 2 sets of hostnames for openstack provider Support private/public hostnames suffixes for DNS records. Real hostnames, Inventory variables, Nova servers and ansible hostnames will ignore the custom suffixes. Those are only for nsupdates sent to external DNS servers. Related change: add openshift_openstack_public_dns_domain to the role defaults to not rely on the group vars example only. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> Co-authored-by: Tomas Sedovic <tsedovic@redhat.com>
| * | Allow 2 sets of hostnames for openstack providerBogdan Dobrelya2017-12-111-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support private/public hostnames suffixes for DNS records. Real hostnames, Inventory variables, Nova servers and ansible hostnames will ignore the custom suffixes. Those are only for nsupdates sent to external DNS servers. Related change: add openshift_openstack_public_dns_domain to the role defaults to not rely on the group vars example only. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> Co-authored-by: Tomas Sedovic <tsedovic@redhat.com>
* | | Merge pull request #6433 from joelddiaz/example-inventory-master-portOpenShift Merge Robot2017-12-121-0/+1
|\ \ \ | | | | | | | | | | | | | | | | Automatic merge from submit-queue. add openshift_master_api_port var to example inventory
| * | | add openshift_master_api_port var to example inventoryJoel Diaz2017-12-111-0/+1
| | |/ | |/| | | | | | | would get timeouts during master node installation without this setting
* | | Merge pull request #6414 from mgugino-upstream-stage/remove-embedded-etcdOpenShift Merge Robot2017-12-115-26/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 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-085-26/+1
| | | | | | | | | | | | | | | Removing some remaining embedded etcd facts except for the migration plays.
* | | Merge pull request #6425 from joelddiaz/aws-readmeOpenShift Merge Robot2017-12-111-1/+1
|\ \ \ | | | | | | | | | | | | | | | | Automatic merge from submit-queue. correct ansible-playbook command syntax
| * | | correct ansible-playbook command syntaxJoel Diaz2017-12-111-1/+1
| | | |
* | | | Merge pull request #6416 from mgugino-upstream-stage/upgrades-service-typeOpenShift Merge Robot2017-12-117-0/+13
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Add openshift_facts to upgrade plays for service_type Bring openshift_facts into scope for plays that utilize openshift_service_type as it is defined there.
| * | | 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.
* | | GlusterFS: Add playbook doc noteJose A. Rivera2017-12-111-0/+3
|/ / | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | Cleanup byo referencesRussell Teague2017-12-086-10/+7
| |
* | Merge pull request #6136 from jmencak/tuned-uninstall-bz1509129Scott Dodson2017-12-081-1/+1
|\ \ | |/ |/| Uninstall tuned-profiles-atomic-openshift-node as defined in origin.spec
| * Uninstall tuned-profiles-atomic-openshift-node as defined in origin.specJiri Mencak2017-11-161-1/+1
| | | | | | | | | | | | | | | | The origin.spec file defines two variants of tuned rpm packages: tuned-profiles-atomic-openshift-node and tuned-profiles-origin-node. Uninstall them both. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509129
* | Merge pull request #6364 from ↵Michael Gugino2017-12-081-2/+1
|\ \ | | | | | | | | | | | | mgugino-upstream-stage/remove-openshift_env_structures Remove unused openshift_env_structures and openshift_env
| * | Remove unused openshift_env_structures and openshift_envMichael Gugino2017-12-071-2/+1
| | | | | | | | | | | | This component of openshift_facts is no longer used.
* | | Merge pull request #6278 from mgugino-upstream-stage/service_typeMichael Gugino2017-12-0820-48/+42
|\ \ \ | | | | | | | | Remove openshift.common.service_type
| * | | Remove openshift.common.service_typeMichael Gugino2017-12-0720-48/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Add os_firewall to prerequisites.ymlMichael Gugino2017-12-077-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This needs to be in place for crio. This role only installs and enables iptables, thus should only be run once.
* | | | Merge pull request #6371 from mtnbikenc/include-to-import_playbookOpenShift Merge Robot2017-12-0753-280/+280
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0754-281/+281
| | | |
* | | | 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 #6362 from mgugino-upstream-stage/crt-playsScott Dodson2017-12-074-8/+37
|\ \ \ \ | |_|/ / |/| | | Implement container_runtime playbooks and changes
| * | | Implement container_runtime playbooks and changesMichael Gugino2017-12-074-8/+37
| |/ / | | | | | | | | | | | | | | | This commit refactors some duplicate code, removes usage of set_fact where not needed, and reorganizes container_runtime role to use include_role.
* | | Merge pull request #6365 from mtnbikenc/consolidate-etcd-upgradeRussell Teague2017-12-0721-67/+64
|\ \ \ | | | | | | | | Playbook Consolidation - etcd Upgrade
| * | | Playbook Consolidation - etcd UpgradeRussell Teague2017-12-0521-67/+64
| | | |
* | | | Merge pull request #6361 from mtnbikenc/consolidate-deploy-clusterScott Dodson2017-12-076-59/+52
|\ \ \ \ | | | | | | | | | | Playbook Consolidation - byo/config.yml
| * | | | Playbook Consolidation - byo/config.ymlRussell Teague2017-12-066-59/+52
| | | | |
* | | | | Merge pull request #6310 from tomassedovic/openstack-rhel-subscriptionMichael Gugino2017-12-072-21/+14
|\ \ \ \ \ | |_|_|/ / |/| | | | Optionally subscribe OpenStack RHEL nodes
| * | | | Remove shell environment lookupTomas Sedovic2017-12-011-2/+2
| | | | |