summaryrefslogtreecommitdiffstats
path: root/roles/openshift_version
Commit message (Collapse)AuthorAgeFilesLines
* Removing dependencies for openshift_repos and setting them up early in the ↵Kenny Woodson2017-08-141-1/+0
| | | | cluster build.
* Merge pull request #4898 from giuseppe/cri-oOpenShift Bot2017-08-041-0/+9
|\ | | | | Merged by openshift-bot
| * cri-o: skip Set precise containerized version checkGiuseppe Scrivano2017-08-031-0/+9
| | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | Set the openshift_version from the openshift.common.version in case it is emptyJan Chaloupka2017-07-281-1/+1
|/ | | | | | | It can happen the openshift_version is set to an empty string. Which results in openshift_pkg_version set to "-". Thus, failing installation of base and excluder packages. For more info see https://bugzilla.redhat.com/show_bug.cgi?id=1474871
* openshift_version: skip nfs and lb hostsSteve Milner2017-06-231-96/+100
| | | | Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1458653
* Merge pull request #4225 from ingvagabund/relax-rpm-image-version-checkJan Chaloupka2017-05-311-2/+7
|\ | | | | relax check for rpm version and docker image version equality
| * check for rpm version and docker image version equality only if ↵Jan Chaloupka2017-05-181-2/+7
| | | | | | | | openshift_pkg_version and openshift_image_tag are not defined
* | allow to configure oreg_url specifically for node or master. refs #4233Tobias Brunner2017-05-191-1/+1
|/ | | | | | | | | This commit allows to specify imageConfig.format specifically for master or for nodes. One use case of this could be if you want to use customer builder images. In this case imageConfig.format only needs to be changed in the master-config.yml but not in the node-config.yml.
* openshift_version: skip rpm version==image version on AtomicGiuseppe Scrivano2017-05-151-3/+8
| | | | | | since there is no repoquery installed on Atomic Host. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Extend repoquery command (of lib_utils role) to ignore excludersJan Chaloupka2017-05-114-49/+24
|
* Fail if rpm version != docker image versionJan Chaloupka2017-05-093-40/+58
|
* openshift_version: improve messagingLuke Meyer2017-04-181-18/+38
| | | | | | | This role often provides the first failure messages when users' inventory parameters are not going to work out. So, make sure the task names and messages are informative to someone who may not have very much context for what this role does.
* Add names to openshift_image_tag assertsSteve Milner2017-04-031-2/+4
|
* openshift_version now requires prepended version formatsSteve Milner2017-04-031-14/+0
| | | | | - openshift_image_tag must start with a v unless it's set to latest - openshift_pkg_version must start with a -
* Warn if openshift_image_tag is defined by hand for package installsSteve Milner2017-04-031-0/+12
|
* Verify openshift_image_tag is valid during openshift_version mainSteve Milner2017-04-031-0/+31
| | | | | - origin examples: v1.2.3, v1.2.3-alpha, v1.2.3-beta.1, v1.5.0-rc.0 - openshift-enterprise examples: v3.5, v3.5.3, v3.5.3.4, v3.5.3.4-1
* Add openshift_version fact fallback debug messagesSteve Milner2017-04-031-4/+14
|
* cleanup: when in openshift_version tasks are multilineSteve Milner2017-04-033-12/+53
|
* Merge pull request #3801 from mtnbikenc/fix-copyOpenShift Bot2017-03-301-0/+1
|\ | | | | Merged by openshift-bot
| * Correct copy task to use remote sourceRussell Teague2017-03-291-0/+1
| |
* | Merge pull request #3734 from sosiouxme/20170322-deployment-typeOpenShift Bot2017-03-301-8/+0
|\ \ | |/ |/| Merged by openshift-bot
| * validate and normalize inventory variablesLuke Meyer2017-03-291-8/+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.
* | Make the OCP available version detection excluder freeJan Chaloupka2017-03-281-1/+28
|/ | | | | | When detecting available OCP version via repoquery, use yum.conf file with exclude= set to an empty array. So the detection is independent of the OCP excluder.
* Fix openshift_image_tag=latest.Andrew Butcher2017-01-091-2/+3
|
* allow 'latest' origin_image_tagSeth Jennings2016-11-291-1/+1
|
* Fix commit-offsets in version detection for containerized installsTim Bielawa2016-11-141-0/+5
| | | | | | * Applies the chomp_commit_offset logic to container version detection https://bugzilla.redhat.com/show_bug.cgi?id=1389137
* Skip the docker role in early upgrade stages.Devan Goodwin2016-09-291-1/+1
| | | | | | | | This improves the situation further and prevents configuration changes from accidentally triggering docker restarts, before we've evacuated nodes. Now in two places, we skip the role entirely, instead of previous implementation which only skipped upgrading the installed version. (which did not catch config issues)
* Better error if no OpenShift RPMs are available.Devan Goodwin2016-08-231-0/+4
|
* Slight modification to error when using mismatched openshift_release.Devan Goodwin2016-07-201-1/+1
|
* Fix bugs with origin 1.2 rpm based upgrades.Devan Goodwin2016-07-191-0/+7
|
* Convert openshift_release and openshift_version to strings for startswithScott Dodson2016-07-151-1/+5
| | | | Fixes : startswith first arg must be str, unicode, or tuple, not float
* Use proper startswith.Devan Goodwin2016-07-111-1/+1
|
* Remove/update TODOs.Devan Goodwin2016-07-081-1/+0
|
* Remove all debug used during devel of openshift_version.Devan Goodwin2016-07-083-22/+0
|
* Fixes for Ansible 2.1.Devan Goodwin2016-07-041-3/+6
|
* Fix unsafe bool usage.Devan Goodwin2016-07-041-1/+1
|
* Add missing defaults file.Devan Goodwin2016-06-221-0/+2
|
* Normalize some of the version inventory vars which users might mistakenly ↵Devan Goodwin2016-06-171-0/+13
| | | | enter wrong.
* Check that detected version matches openshift_release in rpm installations.Devan Goodwin2016-06-171-5/+10
|
* Block attempts to install origin without specifying any release info.Devan Goodwin2016-06-171-0/+7
|
* More version fixes.Devan Goodwin2016-06-162-9/+1
|
* Support origin alpha tags.Devan Goodwin2016-06-153-4/+17
|
* Always populate openshift_image_tag and openshift_pkg_version.Devan Goodwin2016-06-153-4/+26
| | | | | Allows the use of arbitrary tags, precise control over containers and rpms, and likely mixed environments.
* Restore 3.2 RPM version check before upgrading.Devan Goodwin2016-06-131-1/+0
|
* Make openshift_version role docker dep conditional.Devan Goodwin2016-06-131-0/+2
|
* Fix rpm installs.Devan Goodwin2016-06-132-7/+11
|
* Fix version unset bug, and set common ver fact on containerized nodes.Devan Goodwin2016-06-101-0/+5
|
* Respect image tag/pkg version during upgrade.Devan Goodwin2016-06-071-3/+3
|
* Force version to latest 3.2 during upgrade.Devan Goodwin2016-06-071-0/+4
|
* Do not install rpm for version in openshift_version role.Devan Goodwin2016-06-062-11/+9
|