summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
Commit message (Collapse)AuthorAgeFilesLines
...
* Other playbooks maybe expecting this to be at least an empty string. I think ↵Tim Bielawa2017-07-171-0/+1
| | | | they default it to an empty list if its not found.
* Fix NO_PROXY environment variable settingTim Bielawa2017-07-171-32/+68
|
* Only add entries to NO_PROXY settings if a NO_PROXY value is setTim Bielawa2017-07-071-8/+9
| | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1468424 Incorrect indentation caused base svc/cluster.local/hostname entries to be added to the NO_PROXY settings regardless of if the user was configuring NO_PROXY or not.
* Fix missing service domain .svc in NO_PROXY settingsTim Bielawa2017-07-051-1/+3
| | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1467776 Adds the tld '.svc' to the docker NO_PROXY list
* Always convert no_proxy from string into a listScott Dodson2017-07-031-18/+27
| | | | | | | Always add dns_domain, hostname to no_proxy list Fixes BZ1414748 Fixes BZ1414749
* Correct version comparisons to ensure proper evaluationRussell Teague2017-06-291-6/+6
| | | | | | | When a user supplies the openshift_image_tag inventory fact as '3.5', the evaluation of `version >= LooseVersion('3.5.0')` will return False. Changing the evaluation against only the X.X release will properly return True.
* Merge pull request #4195 from ewolinetz/service_catalogScott Dodson2017-06-261-0/+24
|\ | | | | Creation of service_catalog and broker roles
| * Picking change from sdodsonewolinetz2017-06-231-0/+1
| |
| * Adding volume fact for etcd for openshift ansible service brokerewolinetz2017-06-231-1/+24
| |
* | system_containers: Add openshift_ to other system_container varsSteve Milner2017-06-201-4/+4
| |
* | system_containers: Add openshift_ to use_system_containers varSteve Milner2017-06-202-5/+5
|/
* Push to the registry via dnsScott Dodson2017-06-181-0/+1
| | | | | | Configures OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc Adds 'cluster.local' to dns search on nodes via dispatcher script Adds '.svc' to NO_PROXY defaults
* Merge pull request #4179 from sosiouxme/20170512-singletonize-slow-stuffOpenShift Bot2017-06-141-4/+19
|\ | | | | Merged by openshift-bot
| * singletonize some role tasks that repeat a lotLuke Meyer2017-06-061-4/+19
| |
* | Do not attempt to override openstack nodenameJason DeTiberus2017-06-011-5/+7
|/ | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1392519
* move etcd upgrade related code into etcd_upgrade roleJan Chaloupka2017-05-181-0/+4
|
* Add docker package for container-engine installSteve Milner2017-05-141-1/+1
| | | | | The package is required so that openshift_facts is able to use the docker client to gain information on the versions.
* Merge pull request #3969 from jarrpa/glusterfs-registry-tooOpenShift Bot2017-05-101-1/+3
|\ | | | | Merged by openshift-bot
| * GlusterFS: Allow swapping an existing registry's backend storageJose A. Rivera2017-05-041-1/+3
| | | | | | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | Remove vim configuration from Python filesRodolfo Carvalho2017-05-091-1/+0
| | | | | | | | | | | | | | 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.
* | Fix 1448368, and some other minors issuesGan Huang2017-05-051-5/+4
|/
* Merge pull request #4049 from ashcrow/system-container-dockerOpenShift Bot2017-05-031-1/+9
|\ | | | | Merged by openshift-bot
| * System container dockerSteve Milner2017-05-031-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows for the use of either the traditional package install of docker OR a system container install of docker. Two new inventory options, openshift_docker_use_system_container and openshift_docker_systemcontainer_image_registry_override, have been added which are be used to install with a system container. By default this option is commented out. One new fact has been added: - docker.service_name: docker by default, container-engine-docker for system container
* | Refactor system fact gathering to avoid dictionary size change during iteration.Andrew Butcher2017-05-021-3/+5
|/
* Standardize all Origin versioning on 3.6Russell Teague2017-04-251-6/+7
|
* Allow for GlusterFS to provide registry storageJose A. Rivera2017-04-101-0/+4
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* openshift_facts: Allow examples_content_version to be set to v1.6Jose A. Rivera2017-04-031-1/+3
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Merge pull request #3554 from php-coder/install_python3_pkgOpenShift Bot2017-03-314-6/+18
|\ | | | | Merged by openshift-bot
| * openshift_facts: install python3-dbus package on Fedora nodes.Slava Semushin2017-03-244-6/+18
| |
| * Do not require python-six via openshift_factsRodolfo Carvalho2017-03-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | It turns out the code in roles/openshift_health_checker/openshift_checks/__init__.py had a mistake in the import statement, and not the case that `add_metaclass` is not available in the embedded `six` from `ansible.module_utils`. The fix is to correct the import and do not require python-six to be installed on target hosts. Note: now that we have some unit tests in the role, errors like that would have been caught.
| * Revert module_utils six for openshift_health_checkerJason DeTiberus2017-03-131-0/+1
| | | | | | | | | | Embedded version of six in Ansible 2.2.1 does not support add_metaclass, so revert to using python-six.
* | validate and normalize inventory variablesLuke Meyer2017-03-292-3/+3
| | | | | | | | | | | | | | | | | | | | 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.
* | Add calico.Dan Osborne2017-03-231-0/+19
|/
* Use six from ansible.module_utils for remote hostsJason DeTiberus2017-03-092-3/+2
|
* Merge pull request #3565 from ↵Andrew Butcher2017-03-071-2/+7
|\ | | | | | | | | EricMountain-1A/fix_upstream_docker_registries_order Preserve order of Docker registries
| * Preserve order of Docker registriesEric Mountain2017-03-071-2/+7
| | | | | | | | | | | | List of additional/blocked/insecure Docker registries was being converted to a set, thereby dropping the original order. Fixed to preserve order of the registries (this allows prioritising registries).
* | openshift_facts: ensure system containers deps are installedGiuseppe Scrivano2017-03-072-0/+14
|/ | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Merge pull request #3475 from ashcrow/1425583Tim Bielawa2017-03-021-0/+19
|\ | | | | Fails Installation If Docker Version is Too Old On Atomic Host
| * Fail on Atomic if docker is too oldSteve Milner2017-03-021-0/+19
| | | | | | | | | | | | | | If the docker version on a master or node is under 1.12 and the OS is an Atomic Host variant the installation should fail. Fixes: BZ1425583
* | Merge pull request #3393 from srampal/contivScott Dodson2017-03-011-0/+19
|\ \ | |/ |/| Pull request for Contiv Ansible code integration into Openshift Ansible
| * Combined (squashed) commit for all changes related to adding Contiv support ↵Sanjeev Rampal2017-02-271-0/+19
| | | | | | | | into Openshift Ansible. This is the first (beta) release of Contiv with Openshift and is only supported for Openshift Origin + Bare metal deployments at the time of this commit. Please refer to the Openshift and Contiv official documentation for details of the level of support for different features and modes of operation.
* | Prepare for origin moving to OCP version schemeClayton Coleman2017-02-231-1/+1
| | | | | | | | | | | | 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.
* | openshift_facts: handle 'latest' versionGiuseppe Scrivano2017-02-201-1/+1
| | | | | | | | | | | | | | | | do not attempt to compare the version using LooseVersion when 'latest' is used. The case openshift_version == None already sets to use the last version, so simply reuse that. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | facts/main: Require Python 3 for Fedora, Python 2 everywhere elseColin Walters2017-02-171-0/+12
| | | | | | | | | | | | | | | | | | | | For a few reasons; among them that we currently have a dependency on `PyYAML` which on Fedora Atomic Host isn't installed for Python 2 by default. Further, many dependencies are being ported in Fedora to be Python 3. Conversely, ensure that we're using Python 2 everywhere else (which is really CentOS/RHEL), since AFAIK we don't test that path at all, and we really don't need *more* entries in the supported matrix.
* | Revert "Add block+when skip to `openshift_facts` tasks"Andrew Butcher2017-02-151-60/+46
|/ | | | This reverts commit 0b1c1c2c524bfb932ab0e15f63f464673c00e651.
* Ansible Lint cleanup and making filter/lookup plugins used by ↵Jason DeTiberus2017-02-141-2/+4
| | | | openshift_master_facts available within the role
* Add block+when skip to `openshift_facts` tasksTim Bielawa2017-02-141-46/+58
| | | | | * Speed improvements as a side-effect of skipping the tasks in future includes of `openshift_facts`
* Fix Bug 1419654 Remove legacy config_base fallback to /etc/openshiftScott Dodson2017-02-131-19/+5
| | | | | | | | If a host had /etc/openshift but not /etc/origin we were setting the config_base to /etc/openshift in some places but not all. This code was transitional in order to migrate between 3.0 and 3.1. Given that current playbooks are only supported when moving from the previous version to current version this should no longer be necessary.
* Provisioning of nfs share and PV for logging opsErez Freiberger2017-02-111-0/+19
|
* etcd: use as system containerGiuseppe Scrivano2017-02-101-0/+2
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>