summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* upgrade node mark 2Michael Gugino2017-12-1211-174/+219
|
* Refactor node upgrade to include less serial tasksMichael Gugino2017-12-129-189/+196
| | | | | | | | | | | | | 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-127-24/+6
|\ | | | | Remove empty openshift_hosted_facts role
| * Remove empty openshift_hosted_facts roleMichael Gugino2017-12-127-24/+6
| | | | | | | | This commit removes a now-empty role.
* | Merge pull request #6407 from mgugino-upstream-stage/crt-upgradesScott Dodson2017-12-122-15/+67
|\ \ | | | | | | Refactor upgrade codepaths step 1
| * | Refactor upgrade codepaths step 1Michael Gugino2017-12-122-15/+67
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #6445 from mtnbikenc/fix-openshift-examplesScott Dodson2017-12-123-2/+1
|\ \ | |/ |/| Remove bad openshift_examples symlink
| * Remove bad openshift_examples symlinkRussell Teague2017-12-123-2/+1
| |
* | Merge pull request #6335 from kwoodson/node_groups_refactorScott Dodson2017-12-1221-168/+239
|\ \ | |/ |/| Node group management update.
| * Changing the node group format to a list.Kenny Woodson2017-12-1121-168/+239
| |
* | Merge pull request #6381 from bogdando/dns_hostname_prefixesOpenShift Merge Robot2017-12-122-2/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-112-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #6414 from mgugino-upstream-stage/remove-embedded-etcdOpenShift Merge Robot2017-12-116-25/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-086-25/+6
| | | | | | | | | | | | | | | | | | | | Removing some remaining embedded etcd facts except for the migration plays.
* | | | Merge pull request #6418 from sdodson/bz1424102OpenShift Merge Robot2017-12-113-0/+3
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Add missing dependencies on openshift_facts role All of these roles call the openshift_facts module but didn't include the role in their dependencies which can lead to errors in Ansible 2.4. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1524102
| * | | Add missing dependencies on openshift_facts roleScott Dodson2017-12-103-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All of these roles call the openshift_facts module but didn't include the role in their dependencies which can lead to errors in Ansible 2.4. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1524102
* | | | Merge pull request #6393 from kwoodson/ansible_2.4_sg_fixScott Dodson2017-12-112-2/+905
|\ \ \ \ | | | | | | | | | | Copying upstream fix for ansible 2.4 ec2_group module.
| * | | | Copying upstream fix for ansible 2.4 ec2_group module.Kenny Woodson2017-12-112-2/+905
| | | | |
* | | | | Merge pull request #6402 from jmencak/cns-glusterfs_wipeScott Dodson2017-12-111-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Check for openshift attribute before using it during CNS install.
| * | | | | Check for openshift attribute before using it during CNS install.Jiri Mencak2017-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: BZ1523681
* | | | | | Fix openshift hosted registry rolloutRussell Teague2017-12-111-1/+1
| |_|_|_|/ |/| | | |
* | | | | Merge pull request #6406 from sdodson/remove-cr-depOpenShift Merge Robot2017-12-101-1/+0
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Remove container_runtime from the openshift_version We meant to remove this before merging #6316
| * | | | Remove container_runtime from the openshift_versionScott Dodson2017-12-081-1/+0
| | | | |
* | | | | Cleanup byo referencesRussell Teague2017-12-083-7/+7
| | | | |
* | | | | Merge pull request #6356 from jcantrill/1519622_disable_revision_historyJeff Cantrill2017-12-081-0/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | | bug 1519622. Disable rollback of ES DCs
| * | | | bug 1519622. Disable rollback of ES DCsJeff Cantrill2017-12-051-0/+1
| | | | |
* | | | | Merge pull request #6323 from tomassedovic/rhel-subscribeMichael Gugino2017-12-084-32/+49
|\ \ \ \ \ | |_|/ / / |/| | | | Remove reading shell environment in rhel_subscribe
| * | | | Don't check for the deployment_typeTomas Sedovic2017-12-051-1/+0
| | | | |
| * | | | Get the correct value out of openshift_releaseTomas Sedovic2017-12-051-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | The `openshift_release` contents can come in the form of `v3.6.0` which we need to turn to `3.6` to get the right repo name.
| * | | | Use openshift_release instead of ose_versionTomas Sedovic2017-12-043-3/+2
| | | | |
| * | | | Remove the ose_version checkTomas Sedovic2017-12-041-6/+0
| | | | |
| * | | | Fix toxTomas Sedovic2017-12-011-0/+1
| | | | |
| * | | | Remove reading shell environment in rhel_subscribeTomas Sedovic2017-12-014-25/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rhel_subscribe role used to read the shell environment variables for its input with a broken fallback to Ansible variables. This updates the role to only use Ansible vars. If the user wants to do an env lookup, they can do so when calling the role.
* | | | | openshift_node: reintroduce restart of CRI-O.Giuseppe Scrivano2017-12-081-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change introduced with 39cf5084f18e2e0adca46b925660a6f2c38d227c Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | container-engine: skip openshift_docker_log_driver when it is FalseGiuseppe Scrivano2017-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | container-engine: log-opts is a dictionary in the daemon.json fileGiuseppe Scrivano2017-12-082-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | openshift_version: add dependency to openshift_factsGiuseppe Scrivano2017-12-081-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | openshift_version: define openshift_use_crio_onlyGiuseppe Scrivano2017-12-081-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | openshift_version: add dependency to container_runtimeGiuseppe Scrivano2017-12-081-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | crio: define and use l_is_node_system_containerGiuseppe Scrivano2017-12-082-1/+4
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | Merge pull request #6364 from ↵Michael Gugino2017-12-082-101/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 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-072-101/+7
| | | | | | | | | | | | | | | | | | | | This component of openshift_facts is no longer used.
* | | | | Merge pull request #6278 from mgugino-upstream-stage/service_typeMichael Gugino2017-12-0853-158/+181
|\ \ \ \ \ | | | | | | | | | | | | Remove openshift.common.service_type
| * | | | | Remove openshift.common.service_typeMichael Gugino2017-12-0753-158/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #6385 from mjudeikis/hosted-template-varScott Dodson2017-12-074-0/+44
|\ \ \ \ \ \ | | | | | | | | | | | | | | add 3.8 templates for gluster ep and svc
| * | | | | | add 3.8 templates for gluster ep and svcLuke Meyer2017-12-072-0/+22
| | | | | | |
| * | | | | | add 3.8 templates for gluster ep and svcMangirdas2017-12-072-0/+22
| | | | | | |
* | | | | | | Merge pull request #6387 from mgugino-upstream-stage/fix-auth-statScott Dodson2017-12-071-1/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Fix incorrect register name master registry auth
| * | | | | | Fix incorrect register name master registry authMichael Gugino2017-12-071-1/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrects register variable name to registry auth support. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374
* | | | | | Merge pull request #6380 from sdodson/oc-admScott Dodson2017-12-076-10/+12
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Remove all uses of openshift.common.admin_binary