summaryrefslogtreecommitdiff
path: root/roles/openshift_repos
AgeCommit message (Collapse)Author
2018-03-20Upgrade to 3.7.2andsSuren A. Chilingaryan
2018-03-02TypoSuren A. Chilingaryan
2018-02-28Parametrize ands repository pathSuren A. Chilingaryan
2018-02-27Allow upgrade to OpenShift 3.7.1Suren A. Chilingaryan
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-18Add CentOS-OpenShift-Origin37 repo template.Andrew Butcher
2017-12-18Merge pull request #6492 from mazzystr/fix_rhel_reposMichael Gugino
Fix rhel_repos disable command
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_repos disable commandChris Callegari
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-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-14Commit to stabalize RHSM operations. This code is derived from contribChris Callegari
2017-11-30retry package operationsLuke Meyer
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).
2017-11-16Include Deprecation - Init Playbook PathsRussell Teague
2017-11-02Remove old /etc/yum.repos.d/openshift_additional.repo file.Andrew Butcher
2017-09-29fix whitespace for centos reposJason DeTiberus
2017-09-26Fix origin repo deploymentMichael Gugino
Currently, origin deployments place a repo on nodes and masters named centos-openshift-origin. At some point, the maintainers of centos-openshift-origin migrated previous releases of openshift to their own respective repositories. This commit provides the correct repositories for centos-openshift-origin based on the variable openshift_release, defaulting to the latest release reposititory (unversioned). Fixes: https://github.com/openshift/openshift-ansible/issues/5404
2017-09-20Cleanup old deployment typesMichael Gugino
Previously, openshift-ansible supported various types of deployments using the variable "openshift_deployment_type" Currently, openshift-ansible only supports two deployment types, "origin" and "openshift-enterprise". This commit removes all logic and references to deprecated deployment types.
2017-08-31Adding another default to protect against missing name/descKenny Woodson
2017-08-29Merging openshift_node with openshift bootstrap.Kenny Woodson
2017-08-16Remove openshift_repos dependenciesRussell Teague
2017-07-23Support enabling the centos-openshift-origin-testing repositoryDavid Moreau-Simard
New versions of Origin land in the -testing repository before they are tagged for release. This effectively adds the ability to easily test a new unreleased version (currently in this case 1.5.1) by enabling the correct repository if 'openshift_repos_enable_testing' is true.
2017-06-06singletonize some role tasks that repeat a lotLuke Meyer
2017-05-17Fix gpg key path in our repoScott Dodson
2017-05-15Don't set-up origin repositories if they've already been configuredDavid Moreau-Simard
CentOS ships the 'centos-release-openshift-origin' package which is used to set up the repository and the key. If this package has been installed prior to running openshift-ansible (i.e, to install ansible or openshift-ansible from RPM), it leads to the repository being set up twice in different files. We're now matching the name of the files and since they are identical, it will stay idempotent while not configuring the repositories twice.
2017-05-03Ensure repo cache is clean on the first runRussell Teague
The openshift_repos role is modified to clean the repo cache on first run to ensure a clean cache in the situation where the repo files have been changed manually, such as just prior to upgrades.
2017-04-11Update deployment_type documentationRodolfo Carvalho
2017-03-29validate and normalize inventory variablesLuke Meyer
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.
2017-02-24Revert "Add centos paas sig common"Scott Dodson
This reverts commit 7a16f20b936546f47df87662c78f7fe12e75fe85.
2017-02-17Add centos paas sig commonScott Dodson
2017-02-17Disentangle openshift_repos from openshift_factsScott Dodson
2017-01-06Fix repo defaultsScott Dodson
2017-01-05Merge pull request #3033 from abutcher/openshift-enable-origin-repoScott Dodson
Cast openshift_enable_origin_repo to bool.
2017-01-04Enable repos defined in openshift_additional_repos by defaultScott Dodson
Fixes #3025
2017-01-04Cast openshift_enable_origin_repo to bool.Andrew Butcher
2016-12-12YAML LintingRussell Teague
* Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
2016-11-17Refactor to use Ansible package moduleRussell Teague
The Ansible package module will call the correct package manager for the underlying OS.
2016-11-17Allow users to disable the origin repo creationScott Dodson
2016-09-28Suppress more warnings.Andrew Butcher
2016-08-24fix duplicate src fieldJason DeTiberus
2016-08-24simplify repo configurationJason DeTiberus
2016-08-24remove fedora origin copr (it's in mainline fedora now), some dnf/yum clean upAdam Miller
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2016-08-23Revert "Due to problems with with_fileglob lets avoid using it for now"Scott Dodson
2016-08-18Due to problems with with_fileglob lets avoid using it for nowScott Dodson
2016-08-08with_fileglob no longer supports wildcard prefixes.Andrew Butcher
2016-07-11Fix gpg key pathScott Dodson
2016-07-08Rename things to avoid conflicts with paas sig release rpmsScott Dodson
2016-07-07Don't special case origin on centosScott Dodson
Just install the centos paas sig repo whenever asked for origin on RHEL or Centos