summaryrefslogtreecommitdiff
path: root/roles/openshift_master_facts
AgeCommit message (Collapse)Author
2018-02-05Initial support for 3.10Scott Dodson
2018-01-10Move more plugins to lib_utilsMichael Gugino
This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
2017-12-21Remove oauth_template bits from openshift_factsMichael Gugino
This commit moves some deprecated variable logic outside of openshift_facts and into role defaults.
2017-12-19Merge pull request #6469 from mgugino-upstream-stage/plugin-consolidateScott Dodson
Plugin consolidate
2017-12-18Remove some small items from openshift_factsMichael Gugino
Remove some small items from openshift_facts that don't need to be there.
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-08Remove unneeded embedded etcd logicMichael Gugino
Removing some remaining embedded etcd facts except for the migration plays.
2017-12-05Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher
openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
2017-12-05Fix hosted varsMichael Gugino
Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
2017-11-30Add v3.9 supportScott Dodson
2017-11-28Remove openshift_facts project_cfg_factsMichael Gugino
This simplifies some variable logic.
2017-11-28Remove dns_port factMichael Gugino
Simply dns_port variable by remove from openshift_facts.
2017-11-14Removed old version codeMichael Gugino
This commit removes any references to versions < 1.5/3.5 We assume the version is always greater than or equal to 1.5/3.5.
2017-11-13First pass at v3.8 supportScott Dodson
2017-11-07Re-add challenge auth verification to github and googleMichael Gugino
Recent commit removed these checks. These two auth providers are specifically excluded in origin, thus we should enable the checks to ensure challenge auth is not enabled for these providers. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1444367
2017-11-06Merge pull request #6031 from abutcher/temporary-servinginfo-clientcaOpenShift Merge Robot
Automatic merge from submit-queue. Temporarily set master servingInfo.clientCA as client-ca-bundle.crt during rolling CA redeployment. This PR temporarily configures master `servingInfo.clientCA` as `client-ca-bundle.crt` during CA redeploy so that clients referencing the old OpenShift CA can continue to function until all cluster certificates have been replaced and `servingInfo.clientCA` is reset to `ca.crt`. `client-ca-bundle.crt` is a new bundle created by the `openshift_ca` role which contains old and new OpenShift CA certificates. https://bugzilla.redhat.com/show_bug.cgi?id=1509124 Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1493276
2017-11-06Temporarily set master servingInfo.clientCA as client-ca-bundle.crt during ↵Andrew Butcher
rolling CA redeployment.
2017-11-02Fix github auth validationMichael Gugino
This commit ensures github auth validation filter works as intended. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1444367
2017-10-31Remove unused osm_controller_lease_ttlMichael Gugino
This variable is no longer used and references should be removed. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1507449
2017-10-20Remove incorrect validation for OpenIDIdentityProviderMichael Gugino
Currently, OpenIDIdentityProvider does not support 'challenge=true' in openshift-ansible. This is incorrect, the auth plugin OpenIDIdentityProvider does support this. This commit removes the unnecessary validation of challenge key. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1444367 Fixes: https://github.com/openshift/openshift-ansible/issues/4417
2017-10-11Fix broken debug_levelMichael Gugino
Currently, debug_level is documented as a way to change the debug output level for both masters and nodes. debug_level does not currently have any effect. This commit removes debug_level from openshift_facts and properly sets openshift_master_debug_level and openshift_node_debug_level to the value of debug_level specified in the inventory. This commit also reorganizes some set_fact tasks needed during master upgrades to put all work-around set-facts for undefined variables in one place, allowing for easier cleanup in the future. This includes an entry for openshift_master_debug_level. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500164
2017-09-29Remove oo_option facts.Andrew Butcher
2017-09-25Merge pull request #5492 from jsafrane/local-storage-predicateOpenShift Merge Robot
Automatic merge from submit-queue Add 3.7 scheduler predicates In 3.7 we added NoVolumeNodeConflict and MaxAzureDiskVolumeCount predicate that needs to be installed. Check carefully, I tested it on my virtual machine, but I did not manage to run the test.
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-09-20Add 3.7 scheduler predicatesJan Safranek
2017-09-15No conversion to boolean and no quoting for include_granted_scopes.Jan Pazdziora
2017-09-11Properly quote "true" and "false" strings for include_granted_scopes.Jan Pazdziora
2017-08-08Make native clustering the default everywhereClayton Coleman
2017-08-03Update version checks to tolerate 3.7Steve Kuznetsov
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2017-05-26Merge pull request #4234 from vshn/feature/oreg_url_masternodeOpenShift Bot
Merged by openshift-bot
2017-05-19Merge pull request #4211 from dmsimard/github_teamsOpenShift Bot
Merged by openshift-bot
2017-05-19allow to configure oreg_url specifically for node or master. refs #4233Tobias Brunner
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.
2017-05-18Merge pull request #3914 from rikkuness/yaml_newlineOpenShift Bot
Merged by openshift-bot
2017-05-16Add teams attribute to github identity providerDavid Moreau-Simard
GitHubIdentityProvider provides the ability to authenticate against GitHub organization teams [1]. This adds the attribute as optional so that users do not get the error "provider GitHubIdentityProvider contains unknown keys teams". [1]: https://docs.openshift.com/container-platform/3.5/install_config/configuring_authentication.html#GitHub
2017-05-15Default image policy on new clusters to onClayton Coleman
Will allow for default image resolution to be used.
2017-05-09Remove vim configuration from Python filesRodolfo Carvalho
In a project where contributors are free to use whatever editor they want and we have linting tools that verify the proper formatting of Python files, it should not be required to have a vim-specific line in Python files.
2017-05-01Don't double quote when conditionsScott Dodson
2017-05-01Remove jinja template delimeters from when conditionsScott Dodson
In ansible 2.3 "[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ g_glusterfs_hosts is not defined }}"
2017-04-25Standardize all Origin versioning on 3.6Russell Teague
2017-04-12Prevent line wrap in yaml dump of IDP, fixes #3912Darrian
2017-04-03Support unicode output when dumping yamlRussell Teague
2017-03-09Use ansible.compat.six where possibleJason DeTiberus
2017-03-06Rewrap long linesRodolfo Carvalho
2017-03-06Remove unused argumentRodolfo Carvalho
Detected by pylint. The fixture indeed doesn't require an argument.
2017-02-28Add ca-bundle.crt to list of certs to synchronize.Andrew Butcher
2017-02-23Prepare for origin moving to OCP version schemeClayton Coleman
Origin 1.6 and future releases will be versioned as Origin 3.6+. This unifies a point of inconsistency and brings Origin in line with the full release history. Update version numbers to match that 3.x is preferred.
2017-02-20Extract assertion common to all tests as functionRodolfo Carvalho
2017-02-20Replace nose yield-style tests w/ pytest fixturesRodolfo Carvalho
2017-02-20Make tests run with either nosetests or pytestRodolfo Carvalho
And remove explicit dependencies on nose, replacing with pytest. The former is the way forward, for it is a better maintained test library, and a transitive dependency of `molecule`, the test framework we're using to add integration tests to this repo (work in progress).
2017-02-20Replace assert_equal with plain assertRodolfo Carvalho
In the intention to remove the dependency on nose and use only pytest.