summaryrefslogtreecommitdiff
path: root/playbooks
AgeCommit message (Collapse)Author
2018-01-02Merge pull request #6557 from mgugino-upstream-stage/delay-hosted-waitOpenShift Merge Robot
Automatic merge from submit-queue. Move wait_for_pods to it's own play openshift_hosted Currently, both registry and router pods need to be polled for successful deployment. Somtimes this can take up to a minute. This commit attempts to deploy both pods before polling either. This should reduce the average wait time for polling pods by 50% as time spent polling the first will also allow the second pod to continue it's own deployment.
2018-01-02Merge pull request #6554 from mgugino-upstream-stage/bootstrap-to-include-roleMichael Gugino
Remove bootstrap.yml from main.yml in openshift_node role
2017-12-21Move wait_for_pods to it's own play openshift_hostedMichael Gugino
Currently, both registry and router pods need to be polled for successful deployment. Somtimes this can take up to a minute. This commit attempts to deploy both pods before polling either. This should reduce the average wait time for polling pods by 50% as time spent polling the first will also allow the second pod to continue it's own deployment.
2017-12-21Merge pull request #6550 from mbarnes/aws_provisioning_vars_exampleOpenShift Merge Robot
Automatic merge from submit-queue. aws: Fix misnamed variable in provisioning_vars.yml.example This typo (?) in `provisioning_vars.yml.example` tripped me up while trying to run `provision_install.yml` using a configuration based on the example file.
2017-12-21Remove bootstrap.yml from main.yml in openshift_node roleMichael Gugino
This commit utilizes include_role for bootstrapping the node instead of conditional include of tasks now that the node role has no meta includes that have tasks.
2017-12-21Merge pull request #6530 from mgugino-upstream-stage/init-task-trimMichael Gugino
Move sanity_checks into custom action plugin
2017-12-21aws: Fix misnamed variable in provisioning_vars.yml.exampleMatthew Barnes
2017-12-21Fix container_runtime openshift_containerized_host_groupsMichael Gugino
openshift_containerized_host_groups needs to be referenced via hostvars. This commit also updates tox ansible syntax checks to account for unavailability of hostsvars during syntax checks. Fixes: https://github.com/openshift/openshift-ansible/issues/6540
2017-12-21Remove references to deployment_typeMichael Gugino
Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
2017-12-20Move validate_hosts to prerequisites.ymlMichael Gugino
Move more checks outside of init/main.yml for speeding up upgrades and other operational plays that need to run.
2017-12-20Move sanity_checks into custom action pluginMichael Gugino
This commit moves sanity_checks tasks into a custom action plugin that is only run against a single host. This will result in a large reduction of tasks during initialization
2017-12-20Remove openshift.common.{is_atomic|is_containerized}Michael Gugino
We set these variables using facts in init, no need to duplicate the logic all around the codebase.
2017-12-20Merge pull request #6524 from kwoodson/docker_storage_setup_overlayScott Dodson
Adding support for docker-storage-setup on overlay
2017-12-19Adding support for docker-storage-setup on overlayKenny Woodson
2017-12-19Merge pull request #6469 from mgugino-upstream-stage/plugin-consolidateScott Dodson
Plugin consolidate
2017-12-18Relocate filter plugins to lib_utilsMichael Gugino
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.
2017-12-18set repos after registration: convert to match task -> import_role model.Mark Lamourine
2017-12-15Merge pull request #6489 from mgugino-upstream-stage/fix-repos-v2Michael Gugino
Fix rhel_subscribe boolean
2017-12-15Merge pull request #6484 from mtnbikenc/tests-as-filtersRussell Teague
Deprecate using Ansible tests as filters
2017-12-15Fix rhel_subscribe booleanMichael Gugino
This commit fixes a variable name to it's correct name used in a when condition. Also makes use of 'is defined' consistent.
2017-12-14Merge pull request #6483 from mgugino-upstream-stage/fix-reposScott Dodson
Move repo and subscribe to prerequisites
2017-12-14Merge pull request #5970 from mtnbikenc/fix-1506750OpenShift Merge Robot
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
2017-12-14Move repo and subscribe to prerequisitesMichael Gugino
This commit refactors some steps in rhel subscribe and moves repos.yml from init/main to prerequisites.
2017-12-14Deprecate using Ansible tests as filtersRussell Teague
2017-12-14Merge pull request #6463 from mgugino-upstream-stage/openshift-service-type-fixOpenShift Merge Robot
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
2017-12-14Merge pull request #6404 from mazzystr/stablize_rhsmScott Dodson
Commit to stabilize RHSM operations. This code is derived from contrib
2017-12-14Commit to stabalize RHSM operations. This code is derived from contribChris Callegari
2017-12-13Validate node hostname and IP addressRussell Teague
Fixes 1506750 https://bugzilla.redhat.com/show_bug.cgi?id=1506750
2017-12-13Add missing openshift_service_typeMichael Gugino
Pull in openshift_facts to define the variable. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1525429
2017-12-12Refactor node upgrade to include less serial tasksMichael Gugino
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.
2017-12-12Merge pull request #6451 from mgugino-upstream-stage/remove-empty-hosted-factsScott Dodson
Remove empty openshift_hosted_facts role
2017-12-12Remove empty openshift_hosted_facts roleMichael Gugino
This commit removes a now-empty role.
2017-12-12Refactor upgrade codepaths step 1Michael Gugino
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.
2017-12-12Merge pull request #6335 from kwoodson/node_groups_refactorScott Dodson
Node group management update.
2017-12-12Merge pull request #6381 from bogdando/dns_hostname_prefixesOpenShift Merge Robot
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>
2017-12-12Merge pull request #6433 from joelddiaz/example-inventory-master-portOpenShift Merge Robot
Automatic merge from submit-queue. add openshift_master_api_port var to example inventory
2017-12-11Merge pull request #6414 from mgugino-upstream-stage/remove-embedded-etcdOpenShift Merge Robot
Automatic merge from submit-queue. Remove unneeded embedded etcd logic Removing some remaining embedded etcd facts except for the migration plays.
2017-12-11Changing the node group format to a list.Kenny Woodson
2017-12-11add openshift_master_api_port var to example inventoryJoel Diaz
would get timeouts during master node installation without this setting
2017-12-11Merge pull request #6425 from joelddiaz/aws-readmeOpenShift Merge Robot
Automatic merge from submit-queue. correct ansible-playbook command syntax
2017-12-11Merge pull request #6416 from mgugino-upstream-stage/upgrades-service-typeOpenShift Merge Robot
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.
2017-12-11correct ansible-playbook command syntaxJoel Diaz
2017-12-11GlusterFS: Add playbook doc noteJose A. Rivera
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2017-12-11Allow 2 sets of hostnames for openstack providerBogdan Dobrelya
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>
2017-12-09Add openshift_facts to upgrade plays for service_typeMichael Gugino
Bring openshift_facts into scope for plays that utilize openshift_service_type as it is defined there.
2017-12-08Remove unneeded embedded etcd logicMichael Gugino
Removing some remaining embedded etcd facts except for the migration plays.
2017-12-08Cleanup byo referencesRussell Teague
2017-12-08Merge pull request #6136 from jmencak/tuned-uninstall-bz1509129Scott Dodson
Uninstall tuned-profiles-atomic-openshift-node as defined in origin.spec
2017-12-08Merge pull request #6364 from ↵Michael Gugino
mgugino-upstream-stage/remove-openshift_env_structures Remove unused openshift_env_structures and openshift_env
2017-12-08Merge pull request #6278 from mgugino-upstream-stage/service_typeMichael Gugino
Remove openshift.common.service_type