summaryrefslogtreecommitdiff
path: root/roles/openshift_excluder
AgeCommit message (Collapse)Author
2018-01-17Exclude 3.9 packages during 3.8 upgradeScott Dodson
There are some obsoletes in 3.9 packages which lead yum to upgrade directly from 3.7 to 3.9 when you ask for 3.8 packages while 3.9 repos are enabled. Since we'd like to allow people to run one playbook to upgrade from 3.7 to 3.8 to 3.9 we need to exclude those packages when upgrading to 3.8
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-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-14Deprecate using Ansible tests as filtersRussell Teague
2017-12-07Remove openshift.common.service_typeMichael Gugino
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.
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-22Include Deprecation - openshift-nodeRussell Teague
2017-10-06Add fedora compatibilityAdam Miller
- don't check pkg versions on Fedora, it won't work; they move faster than RHEL and it's not realistic to maintain that package list. - handle differences between yum and dnf pkgspec for excluder - work-around for a bug in dnf https://bugzilla.redhat.com/show_bug.cgi?id=1199432 - make requirement verify one play, don't run unnecessary checks on Fedora
2017-07-24Use absolute path when unexcludingSergi Jimenez
* As follow-up on #4835, use absolute path also when unexcluding
2017-07-24Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1474246Sergi Jimenez
Use absolute path when executing excluder as it's used when checking for excluder.
2017-06-06singletonize some role tasks that repeat a lotLuke Meyer
2017-05-30disable docker excluder before it is updated to remove older excluded packagesJan Chaloupka
2017-05-16Rework openshift_excluders roleRussell Teague
2017-05-11Extend repoquery command (of lib_utils role) to ignore excludersJan Chaloupka
2017-04-28move excluder upgrade validation tasks under openshift_excluder roleJan Chaloupka
2017-04-06unexclude excluder if it is to be upgraded and already installedJan Chaloupka
2017-03-28Make the OCP available version detection excluder freeJan Chaloupka
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.
2017-03-20Attempt to match version of excluders to target versionScott Dodson
2017-03-20Get rid of adjust.ymlScott Dodson
2017-03-20Protect against missing commandsScott Dodson
Rather than trying to keep track of state everywhere, lets just check to see if the command exist before we attempt to run them
2017-03-20Simplify excluder enablement logic a bit moreScott Dodson
2017-03-16enable docker excluder since the time it is installedJan Chaloupka
2017-03-15Since we've decided that we're no longer paying attention to currentScott Dodson
status remove this as it was toggling things
2017-03-14Revert "Enable docker during installation and upgrade by default"Steve Kuznetsov
2017-03-13enable docker excluder since the time it is installedJan Chaloupka
2017-03-09extend the excluders to containerized deploymentJan Chaloupka
2017-03-08openshift_excluders depends on openshift_reposScott Dodson
So that centos repos are provisioned before attempting to install the excluders
2017-03-08enable excluders by defaultJan Chaloupka
2017-03-08ignore the docker excluder status if it is not enabled by a userJan Chaloupka
2017-03-07- update excluders to latest, in non-upgrade scenarios do not updateJan Chaloupka
- check both available excluder versions are at most of upgrade target version - get excluder status through status command - make excluders enablement configurable
2017-02-27install the latest excludersJan Chaloupka
2017-02-06Add openshift_excluder roleScott Dodson
- install -- installs excluders, which enables them too - exclude -- enables the excludes - unexclude -- disables the excludes - status -- sets facts based on status, included in main.yml - reset -- sets excluders back to original state based on recorded facts