summaryrefslogtreecommitdiffstats
path: root/roles/openshift_sanitize_inventory
Commit message (Collapse)AuthorAgeFilesLines
* Fix vsphere sanitizationScott Dodson2018-02-011-7/+7
|
* Set a default for required vsphere variableScott Dodson2018-02-011-0/+14
| | | | Check for required variables in sanitize inventory
* Merge pull request #6862 from ewolinetz/deprecate_use_callbackOpenShift Merge Robot2018-01-262-4/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Updating deprecations to use callback plugin Instead of just pausing during the run and relying on users to see it, instead format and print the deprecated variables at the end of play instead like this: ``` Initialization : Complete (0:00:23) [DEPRECATION WARNING]: The following are deprecated variables and will be no longer be used in the next minor release. Please update your inventory accordingly. openshift_hosted_logging_deploy openshift_hosted_metrics_deployer_prefix ``` The plugin changes are the same as the changes made in https://github.com/openshift/openshift-ansible/pull/6734
| * Updating deprecations to use callback pluginEric Wolinetz2018-01-252-4/+7
| |
* | [1537946] Correct conditional check for GlusterFS IPsRussell Teague2018-01-241-1/+2
|/
* Move more plugins to lib_utilsMichael Gugino2018-01-101-10/+0
| | | | | | | This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
* Updating logging_facts to be able to pull values from config maps yaml ↵Eric Wolinetz2018-01-022-68/+1
| | | | files, use diffs to keep custom changes, white list certain settings when creating diffs
* Remove references to deployment_typeMichael Gugino2017-12-212-29/+0
| | | | | | | Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
* Relocate filter plugins to lib_utilsMichael Gugino2017-12-181-1/+2
| | | | | | | | | | | | | | 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.
* Deprecate using Ansible tests as filtersRussell Teague2017-12-141-1/+1
|
* Merge pull request #5723 from mjudeikis/gluster-registry-backendScott Dodson2017-11-291-0/+24
|\ | | | | Add external glusterfs backend to hosted and glusterfs playbook
| * Add support for external glusterfs as registry backendMangirdas2017-11-211-0/+24
| |
* | Include Deprecation - Init Playbook PathsRussell Teague2017-11-162-3/+3
|/
* Ensure install and remove are mutually exclusive viaScott Dodson2017-11-021-0/+18
| | | | openshift_sanitize_inventory
* Correct openshift_release regular expressionRussell Teague2017-10-261-1/+1
| | | | | | | | | | Match only versions like: 3.7 3.7.0 3.7.0.0 Avoids matches like: 3.7.0.0.0.0
* Merge pull request #5830 from abutcher/registry-deploymentOpenShift Merge Robot2017-10-251-0/+2
|\ | | | | | | | | | | | | Automatic merge from submit-queue. Ensure deployment_subtype is set within openshift_sanitize_inventory. https://bugzilla.redhat.com/show_bug.cgi?id=1504021
| * Ensure deployment_subtype is set within openshift_sanitize_inventory.Andrew Butcher2017-10-201-0/+2
| |
* | Bug 1491636 - honor node selectorsJan Wozniak2017-10-241-6/+6
| | | | | | | | | | | | | | | | | | The deprecation of `*_hosted_*` vars made logging node selectors set in the inventory to be ignored. Node selectors were set as 'facts' and they have higher priority than inventory variables. Setting logging node selectors could be achieved only by using command line --extra-vars.
* | Merge pull request #5241 from hansmi/masterScott Dodson2017-10-231-0/+8
|\ \ | | | | | | Add variable to control whether NetworkManager hook is installed
| * | Add variable to control whether NetworkManager hook is installedMichael Hanselmann2017-10-191-0/+8
| |/ | | | | | | | | | | We control /etc/resolv.conf and parts of the dnsmasq configuration via Puppet in our environment. The hook ends up overwriting the managed configuration.
* | Adding pre check to verify clusterid is set along with cloudprovider when ↵Kenny Woodson2017-10-161-0/+13
|/ | | | performing upgrade.
* Addressing tox issuesEric Wolinetz2017-09-292-5/+8
|
* Checking if any openshift_*_storage_kind variables are set to dynamic ↵Eric Wolinetz2017-09-273-25/+63
| | | | without enabling dynamic provisioning
* Adding default for volume size if not setEric Wolinetz2017-09-261-2/+2
|
* Merge pull request #5176 from ewolinetz/deprecate_log_met_varsOpenShift Merge Robot2017-09-227-0/+257
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue Creating structure to warn for use of deprecated variables and set th… …em in a single location before they are no longer honored Implementation of https://trello.com/c/XKOGHSkP/460-3-deprecate-openshifthostedloggingmetrics-installer-variables Tried to implement this in a way such that we can easily and cleanly add/remove variables in the future for any role we choose. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1449812 https://bugzilla.redhat.com/show_bug.cgi?id=1464349
| * Creating structure to warn for use of deprecated variables and set them in a ↵Eric Wolinetz2017-09-207-0/+257
| | | | | | | | single location before they are no longer honored
* | Merge pull request #5473 from abutcher/scaleup-network-valuesScott Dodson2017-09-211-21/+0
|\ \ | |/ |/| Set network facts using first master's config during scaleup.
| * Set network facts using first master's config during scaleup.Andrew Butcher2017-09-201-21/+0
| |
* | Cleanup old deployment typesMichael Gugino2017-09-201-5/+2
|/ | | | | | | | | | | 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.
* testing: Skip net vars on integration testsSteve Milner2017-09-151-1/+6
| | | | Signed-off-by: Steve Milner <smilner@redhat.com>
* openshift_sanitize_inventory: Check for required varsSteve Milner2017-09-151-0/+16
| | | | | | | | | Moved the checks for osm_cluster_network_cidr, osm_host_subnet_length, openshift_portal_net from upgrade to openshift_sanitize_inventory as we now consider it a required variable for install, updrade, or scale up. Signed-off-by: Steve Milner <smilner@redhat.com>
* Run dns on the node and use that for dnsmasqScott Dodson2017-06-302-0/+16
|
* openshift_sanitize_inventory: disallow conflicting deployment typesLuke Meyer2017-04-101-0/+13
|
* openshift_sanitize_inventory: validate releaseLuke Meyer2017-04-051-7/+14
| | | | | Complain early if those wacky users use wacky values for openshift_release.
* validate and normalize inventory variablesLuke Meyer2017-03-294-0/+87
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.