summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/library
Commit message (Collapse)AuthorAgeFilesLines
* More stable containerized version lookup.Devan Goodwin2016-06-151-1/+21
|
* Fix performance hit in openshift_facts.Devan Goodwin2016-06-151-5/+0
|
* Fix version unset bug, and set common ver fact on containerized nodes.Devan Goodwin2016-06-101-2/+12
|
* Fix missing openshift.common.version fact on containerized nodes.Devan Goodwin2016-06-101-0/+3
|
* Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-06-091-1/+9
|\
| * Ansible 2.1 support.Andrew Butcher2016-06-071-1/+9
| |
* | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-06-061-1/+3
|\|
| * Configure default docker logging options.Andrew Butcher2016-06-021-1/+3
| |
* | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-05-301-0/+19
|\|
| * Merge pull request #1896 from abutcher/openshift-loadbalancerJason DeTiberus2016-05-271-0/+8
| |\ | | | | | | Separate master and haproxy config playbooks.
| | * Separate master and haproxy config playbooks.Andrew Butcher2016-05-261-0/+8
| | | | | | | | | | | | | | | | | | * Move haproxy configuration to a separate openshift-loadbalancer play. * Move the haproxy role to openshift_loadbalancer. * Add openshift_loadbalancer* facts which drive haproxy configuration.
| * | Allow clock role in openshift_factsJeremiah Stuever2016-05-201-0/+11
| |/
* | Hookup node configuration.Devan Goodwin2016-05-251-2/+6
| |
* | Work towards determining openshift_version when unspecified.Devan Goodwin2016-05-251-0/+2
| | | | | | | | | | | | | | openshift_docker role was largely useless now, but also almost did what we needed. (deps ordering still needs to be changed) Remove defaulting of openshift_version.
* | Set openshift_version in config playbooks for first master.Devan Goodwin2016-05-251-9/+3
|/ | | | | | | Starting to remove openshift.docker.openshift_version fact usage. openshift_version should no longer contain a leading 'v' for containerized installs, just a version number.
* Merge pull request #1880 from dgoodwin/registry-insecureBrenton Leanhardt2016-05-161-1/+1
|\ | | | | Fixes for openshift_docker_hosted_registry_insecure var.
| * Fixes for openshift_docker_hosted_registry_insecure var.Devan Goodwin2016-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a failure on masters if you explicitly set openshift_docker_hosted_registry_insecure=true. This is the default but if you tried to set it an error would trigger as a relevant variable was not passed in the master playbooks. Fixes setting the variable to false being ignored. master/node playbooks were referencing the docker fact, which was not set at that point and thus we were always getting the default of true, regardless what was in your inventory. Stop passing registry insecure in via playbooks, we can access it when running openshift_facts itself. Add a new default in openshift facts.
* | Allow overriding servingInfo.maxRequestsInFlight via ↵Andrew Butcher2016-05-131-1/+2
| | | | | | | | openshift_master_max_requests_inflight.
* | Update StringIO import for py2/3 compat.Andrew Butcher2016-05-121-4/+4
| |
* | Merge pull request #1192 from lebauce/storage-cinder-roleJason DeTiberus2016-05-101-0/+3
|\ \ | | | | | | Add support for Openstack based persistent volumes
| * | Add support for Openstack based persistent volumesSylvain Baubeau2016-05-101-0/+3
| | | | | | | | | | | | Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
* | | Merge pull request #1828 from sdodson/bz1330920Jason DeTiberus2016-05-101-8/+9
|\ \ \ | |_|/ |/| | Fix openshift_generate_no_proxy_hosts boolean
| * | Fix openshift_generate_no_proxy_hosts booleanScott Dodson2016-04-271-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | Fixing this also made it obvious that we weren't adding even the current host's name to the no_proxy list. This is absolutely necessary or the master won't be able to reach etcd. So even if they request not to have the list of all hosts and cluster dns zone added we should add the current host's hostname to the no_proxy list.
* | | Merge tag 'openshift-ansible-3.0.88-1'Brenton Leanhardt2016-05-061-2/+2
|\ \ \ | | | | | | | | | | | | Tagging package [openshift-ansible] version [3.0.88-1] in directory [./].
| * | | Fix unsafe boolean handling on use_dnsmasqScott Dodson2016-05-061-2/+2
| |/ /
* | | BuildDefaults are a kube admission controller not an openshift admissionScott Dodson2016-04-281-4/+7
| | | | | | | | | | | | | | | | | | controller Also, improve commenting
* | | Merge pull request #1818 from dgoodwin/safe-yaml-3Jason DeTiberus2016-04-271-1/+6
|\ \ \ | |/ / |/| | Fix inventory properties with raw booleans, again...
| * | Fix inventory properties with raw booleans, again...Devan Goodwin2016-04-271-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix earlier in this affected method was only being applied when merging old and new facts. In a first run on a clean system with no pre-existing openshift facts cache, the yaml safe load was not applied resulting in the same broken master config. (which would fix itself if you just reran the config playbook) Apply the same check on new facts not previously applied on the system.
* | | Add masterConfig.volumeConfig.dynamicProvisioningEnabledScott Dodson2016-04-261-1/+2
|/ /
* | Merge pull request #1385 from sdodson/global-proxyJason DeTiberus2016-04-251-1/+72
|\ \ | | | | | | Global Proxy Config
| * | Sort and de-dupe no_proxy listScott Dodson2016-04-251-0/+18
| | |
| * | Add global proxy configurationScott Dodson2016-04-221-1/+54
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configures HTTP_PROXY, HTTPS_PROXY, NO_PROXY for master and docker services. Configugres BuildDefaults Admission controller for master to automatically insert proxy environment configuration into build environments. To use set at least these variables - openshift_http_proxy - openshift_https_proxy NO_PROXY entries will automatically be configured for hostnames of all openshift hosts. You may specify additional NO_PROXY hosts or patterns by setting `openshift_no_proxy` If you wish to disable automatic generation of NO_PROXY hosts you may set `openshift_generate_no_proxy_hosts` to False. If you wish to have different builddefaults proxy configuration than baseline proxy configuration set these variables - openshift_builddefaults_http_proxy - openshift_builddefaults_https_proxy - openshift_builddefaults_no_proxy - openshift_builddefaults_git_http_proxy - openshift_builddefaults_git_https_proxy
* / openshift-metrics: adding duration and resolution optionsErez Freiberger2016-04-241-0/+2
|/
* Merge pull request #1758 from dgoodwin/fix-json-varsBrenton Leanhardt2016-04-201-1/+1
|\ | | | | Fix use of JSON inventory vars with raw booleans.
| * Fix use of JSON inventory vars with raw booleans.Devan Goodwin2016-04-151-1/+1
| | | | | | | | | | | | Thought this was fixed in recent patch but somehow backed out a critical change to the isinstance, we need to check for basestring to also have this work with unicode strings.
* | Use a JSON list for docker log options.Devan Goodwin2016-04-201-1/+12
| | | | | | | | | | | | | | Previously we expected you to comma separate, but this wasn't really clear. Insted we will use an explicit JSON list going forward. The comma separated list will be supported for backwards compatability.
* | Merge pull request #1766 from abutcher/router-selectorBrenton Leanhardt2016-04-201-8/+19
|\ \ | | | | | | Bug 1328119 - router selector not obeyed
| * | Remove empty facts from nested dictionaries.Andrew Butcher2016-04-201-8/+18
| | |
| * | Fix router selector fact migration and match multiple selectors when ↵Andrew Butcher2016-04-201-0/+1
| | | | | | | | | | | | counting nodes.
* | | Merge pull request #1582 from jdnieto/openshift_metricsBrenton Leanhardt2016-04-201-0/+16
|\ \ \ | |/ / |/| | added new openshift-metrics service
| * | added new openshift-metrics serviceJose David Martin Nieto2016-04-201-0/+16
| |/
* | Add openshift_node_dnsmasqScott Dodson2016-04-191-2/+42
| |
* | Promote portal_net to openshift.common, add kube_svc_ipScott Dodson2016-04-191-4/+22
|/ | | | | Conflicts: roles/openshift_facts/library/openshift_facts.py
* The openshift_docker role must set the version facts for containerized installsBrenton Leanhardt2016-04-141-30/+8
| | | | | | QE found that for fresh installs we were basing the docker version facts of the images that could be pulled prior to configuring /etc/sysconfig/docker. This is an edge case but something we need to fix.
* Merge pull request #1738 from dgoodwin/image-policy-configBrenton Leanhardt2016-04-131-5/+11
|\ | | | | Support setting imagePolicyConfig JSON in inventory.
| * Support setting imagePolicyConfig JSON in inventory.Devan Goodwin2016-04-121-5/+11
| | | | | | | | | | | | | | | | | | For flexibility this is another pure JSON field to translate directly to yaml in the master config. Also updated to more safely handle JSON inventory variables as this uncovered a bug with booleans where you end up with a string containing json in your yaml.
* | Bug 1324728 - Ansible should not downgrade docker when installing 3.2 ↵Brenton Leanhardt2016-04-121-8/+11
| | | | | | | | containerized env
* | Add support for creating secure router.Andrew Butcher2016-04-111-27/+43
|/ | | | | | | | | | | | | | | * Move openshift_router to openshift_hosted role which will eventually contain registry, metrics and logging. * Adds option for specifying an openshift_hosted_router_certificate cert and key pair. * Removes dependency on node label variables and retrieves the node list from the API s.t. this role can be applied to any cluster with existing nodes. I've added an openshift_hosted playbook that occurs after node install to account for this. * Infrastructure nodes are selected using openshift_hosted_router_selector which is based on deployment type by default; openshift-enterprise -> "region=infra" and online -> "type=infra".
* Merge pull request #1699 from abutcher/check-cloudprovider-kindBrenton Leanhardt2016-04-061-18/+21
|\ | | | | Check for kind in cloudprovider facts prior to accessing.
| * Check for kind in cloudprovider facts prior to accessing.Andrew Butcher2016-04-041-18/+21
| |