summaryrefslogtreecommitdiffstats
path: root/roles/lib_utils/action_plugins
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7106 from jarrpa/pvc-gen-storageclassOpenShift Merge Robot2018-02-131-1/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Allow for blank StorageClass in PVC creation In the case where a default StorageClass is already defined and a PV's storage kind is not 'dynamic', allows for the storageClassName of the associated PVC to be blank so as to not use the default SC. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1544387 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
| * Allow for blank StorageClass in PVC creationJose A. Rivera2018-02-121-1/+7
| | | | | | | | | | | | | | | | In the case where a default StorageClass is already defined and a PV's storage kind is not 'dynamic', allows for the storageClassName of the associated PVC to be blank so as to not use the default SC. Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | Fix etcd scaleup playsMichael Gugino2018-02-121-1/+18
|/ | | | | | | | | | | This commit ensures that only the proper host groups have sanity checks run during etcd scaleup. This commit also adds additional debugging statements to sanity_checks.py to make it easier to debug when an error occurs. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1543771
* Move more plugins to lib_utilsMichael Gugino2018-01-101-0/+157
| | | | | | | This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
* Refactor version and move some checks into sanity_checks.pyMichael Gugino2018-01-091-1/+56
| | | | | | | | | | | | | This commit changes how we handle openshift_version role. Most of the version initialization code is only run on the first master now. All other hosts have values set from the master. Aftwards, we run some basic RPM queries to ensure that the correct version is available on the other nodes. Containerized needs to do their own image checks elsewhere.
* Remove references to deployment_typeMichael Gugino2017-12-211-1/+17
| | | | | | | Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
* Move validate_hosts to prerequisites.ymlMichael Gugino2017-12-201-1/+15
| | | | | | Move more checks outside of init/main.yml for speeding up upgrades and other operational plays that need to run.
* Move sanity_checks into custom action pluginMichael Gugino2017-12-201-0/+96
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