summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/library
Commit message (Collapse)AuthorAgeFilesLines
* Bug 1541625- properly cast provided ip address to unicodeFabian von Feilitzsch2018-02-071-2/+2
|
* Initial support for 3.10Scott Dodson2018-02-051-1/+6
|
* Merge pull request #6215 from sdodson/bz1511870OpenShift Merge Robot2018-01-291-0/+4
|\ | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Add kube service ipaddress to no_proxy list Computed as the first ip address in the portal_net Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1511870
| * Make IP object a stringFabian von Feilitzsch2018-01-241-1/+2
| |
| * Add kube service ipaddress to no_proxy listScott Dodson2018-01-241-0/+3
| | | | | | | | Computed as the first ip address in the portal_net
* | Remove unused node.lables from openshift_factsMichael Gugino2018-01-241-3/+0
|/ | | | Removing dead code.
* Add support for Amazon EC2 C5 instance typesRussell Teague2018-01-191-0/+5
|
* Remove oauth_template bits from openshift_factsMichael Gugino2017-12-211-21/+0
| | | | | This commit moves some deprecated variable logic outside of openshift_facts and into role defaults.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-201-33/+1
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Remove some small items from openshift_factsMichael Gugino2017-12-181-25/+0
| | | | | Remove some small items from openshift_facts that don't need to be there.
* Remove openshift_node_facts roleMichael Gugino2017-12-181-37/+7
| | | | | This commit removes the remainder of openshift_node_facts role.
* Remove openshift_node_facts part 1Michael Gugino2017-12-141-73/+2
| | | | | This commit removes some items from openshift_facts for the openshit_node role.
* Remove unneeded embedded etcd logicMichael Gugino2017-12-081-2/+1
| | | | | Removing some remaining embedded etcd facts except for the migration plays.
* Merge pull request #6364 from ↵Michael Gugino2017-12-081-96/+7
|\ | | | | | | | | mgugino-upstream-stage/remove-openshift_env_structures Remove unused openshift_env_structures and openshift_env
| * Remove unused openshift_env_structures and openshift_envMichael Gugino2017-12-071-96/+7
| | | | | | | | This component of openshift_facts is no longer used.
* | Remove openshift.common.service_typeMichael Gugino2017-12-071-10/+7
| | | | | | | | | | | | | | | | 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.
* | Merge pull request #6380 from sdodson/oc-admScott Dodson2017-12-071-2/+1
|\ \ | |/ |/| Remove all uses of openshift.common.admin_binary
| * Remove all uses of openshift.common.admin_binaryScott Dodson2017-12-071-2/+1
| | | | | | | | Replace with `oc adm`
* | Merge pull request #6346 from ↵Michael Gugino2017-12-071-56/+16
|\ \ | |/ |/| | | | | mgugino-upstream-stage/remove-protected_facts_to_overwrite Remove unused protected_facts_to_overwrite
| * Remove unused protected_facts_to_overwriteMichael Gugino2017-12-041-56/+16
| | | | | | | | This appears to be no longer used.
* | Fix hosted varsMichael Gugino2017-12-051-307/+2
| | | | | | | | | | | | Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
* | Merge pull request #6297 from mgugino-upstream-stage/crt_roleScott Dodson2017-12-041-86/+1
|\ \ | |/ |/| Implement container runtime role
| * Implement container runtime roleMichael Gugino2017-12-011-86/+1
| |
* | Add v3.9 supportScott Dodson2017-11-301-1/+6
|/
* Merge pull request #5723 from mjudeikis/gluster-registry-backendScott Dodson2017-11-291-0/+1
|\ | | | | Add external glusterfs backend to hosted and glusterfs playbook
| * Add support for external glusterfs as registry backendMangirdas2017-11-211-0/+1
| |
* | Remove openshift_facts project_cfg_factsMichael Gugino2017-11-281-29/+0
| | | | | | | | This simplifies some variable logic.
* | Remove dns_port factMichael Gugino2017-11-281-16/+0
| | | | | | | | Simply dns_port variable by remove from openshift_facts.
* | Merge pull request #6283 from mgugino-upstream-stage/schedulableMichael Gugino2017-11-281-19/+0
|\ \ | | | | | | remove schedulable from openshift_facts
| * | remove schedulable from openshift_factsMichael Gugino2017-11-271-19/+0
| | | | | | | | | | | | | | | | | | This commit removes schedulable from openshift_facts in favor of detecting whether or not a host is a master via inventory.
* | | Merge pull request #6280 from mgugino-upstream-stage/cli_imageScott Dodson2017-11-281-4/+0
|\ \ \ | | | | | | | | Remove openshift.common.cli_image
| * | | Remove openshift.common.cli_imageMichael Gugino2017-11-271-4/+0
| |/ / | | | | | | | | | | | | This commit removes openshift.common.cli_image in favor of openshift_cli_image.
* | | Fix openshift_env fact creation within openshift_facts.Andrew Butcher2017-11-271-6/+19
|/ /
* | Merge pull request #6197 from mgugino-upstream-stage/etcd-imageScott Dodson2017-11-211-4/+0
|\ \ | | | | | | Refactor etcd image
| * | Refactor etcd imageMichael Gugino2017-11-201-4/+0
| |/ | | | | | | Simplify logic for etcd_image
* | Only remove empty keys from env if env existsScott Dodson2017-11-201-1/+2
|/
* Merge pull request #6079 from mgugino-upstream-stage/fix-log-local-factsOpenShift Merge Robot2017-11-151-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Fix stale data in openshift_facts for logging Currently, some stale facts may be present in '/etc/ansible/facts.d/openshift.fact' which causes openshift_facts to fail. This commit ensures that the data for the 'logging' key in that file is a dictionary; otherwise we re-initialize a new dictionary. Fixes: https://github.com/openshift/openshift-ansible/issues/6057
| * Fix stale data in openshift_facts for loggingMichael Gugino2017-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Currently, some stale facts may be present in '/etc/ansible/facts.d/openshift.fact' which causes openshift_facts to fail. This commit ensures that the data for the 'logging' key in that file is a dictionary; otherwise we re-initialize a new dictionary. Fixes: https://github.com/openshift/openshift-ansible/issues/6057
* | Removed old version codeMichael Gugino2017-11-141-45/+5
| | | | | | | | | | | | 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.
* | First pass at v3.8 supportScott Dodson2017-11-131-2/+8
|/
* Fix master upgrade version detect and systemd enableMichael Gugino2017-11-031-1/+1
| | | | | Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1508755 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509158
* Fix prometheus role nfsZohar Galor2017-10-161-1/+76
| | | | | | Allow for external or internal nfs. use facts as used for logging and metrics. Update prometheus-alertmanager image to v0.9.1
* Fix broken debug_levelMichael Gugino2017-10-111-1/+0
| | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #5577 from ashcrow/1496725OpenShift Merge Robot2017-09-291-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. openshift_facts: coerce docker_use_system_container to bool Use ``safe_get_bool()`` when reading ``docker_use_system_container`` to ensure that ansible accepted inputs are turned into real boolean results. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1496725 3.6 Backport: https://github.com/openshift/openshift-ansible/pull/5578
| * openshift_facts: coerce docker_use_system_container to boolSteve Milner2017-09-281-1/+3
| | | | | | | | | | | | | | | | | | Use safe_get_bool() when reading docker_use_system_container to ensure that ansible accepted inputs are turned into real boolean results. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1496725 Signed-off-by: Steve Milner <smilner@redhat.com>
* | Migrate enterprise registry logic to docker roleMichael Gugino2017-09-271-24/+0
|/ | | | | | | | | | | | | Currently, the enterprise registry to forcefully added in openshift_facts. Recently, the docker role has been modified to consume registry variables directly, bypassing openshift_facts. This commit cleans up unused code in openshift_facts, and migrates enterprise registry logic to the docker role. Fixes: https://github.com/openshift/openshift-ansible/issues/5557
* Merge pull request #5483 from sdodson/bz1396350OpenShift Merge Robot2017-09-221-1/+1
|\ | | | | | | | | | | | | Automatic merge from submit-queue Ensure that hostname is lowercase Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1396350
| * Ensure that hostname is lowercaseScott Dodson2017-09-211-1/+1
| | | | | | | | Fixes Bug 1396350
* | Creating structure to warn for use of deprecated variables and set them in a ↵Eric Wolinetz2017-09-201-65/+71
|/ | | | single location before they are no longer honored
* Cleanup old deployment typesMichael Gugino2017-09-201-32/+7
| | | | | | | | | | | 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.