summaryrefslogtreecommitdiffstats
path: root/roles/openshift_docker_facts
Commit message (Collapse)AuthorAgeFilesLines
* Implement container runtime roleMichael Gugino2017-12-014-57/+0
|
* Migrate enterprise registry logic to docker roleMichael Gugino2017-09-271-9/+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
* cri-o: rename openshift_docker_use_crio to openshift_use_crioGiuseppe Scrivano2017-08-251-1/+1
| | | | | | | It is confusing to have _docker_ in the name, since they are two different backends. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* openshift_docker_facts: Add use_crioSteve Milner2017-08-031-0/+1
|
* Add mtu setting to /etc/sysconfig/docker-networkScott Dodson2017-06-011-0/+3
| | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1457062
* Fix 1448368, and some other minors issuesGan Huang2017-05-051-0/+1
|
* Add new option 'openshift_docker_selinux_enabled'Russell Teague2017-01-241-0/+2
| | | | | Allows controlling 'selinux-enabled' docker options Can be set to true or false
* YAML LintingRussell Teague2016-12-121-1/+1
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Default hosted_registry_insecure true when insecure registry present in ↵Andrew Butcher2016-10-261-1/+1
| | | | existing /etc/sysconfig/docker.
* Further secure registry improvementsAndrew Butcher2016-09-291-1/+1
| | | | | | - Default to hosted_registry_insecure=False - Add openshift ca to system ca-trust. - Update ca trust in openshift_node_certificates rather than docker_ca_trust
* Secure registry for atomic registry deployment (deployment_subtype=registry).Andrew Butcher2016-09-021-1/+1
|
* Merge branch 'master' into upgrade33Devan Goodwin2016-07-041-1/+1
|\
| * Switch to repoquery, enable plugins for satellite supportScott Dodson2016-06-291-1/+1
| |
* | Fix docker restarts during openshift_version role.Devan Goodwin2016-06-201-1/+2
| | | | | | | | | | | | | | | | | | The variable here must be explicitly passed to the docker role, if it's passed sometimes and not others, the docker config changes triggers a docker restart effectively killing everything on the node in an unsafe manner. Instead lets make sure the value is set.
* | Remove unused docker facts tasks.Devan Goodwin2016-06-101-21/+0
| |
* | Merge branch 'master' into upgrade33Devan Goodwin2016-06-101-19/+0
|\|
| * Docker 1.10 UpgradeDevan Goodwin2016-06-031-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a separate playbook for Docker 1.10 upgrade that can be run standalone on a pre-existing 3.2 cluster. The upgrade will take each node out of rotation, and remove *all* containers and images on it, as this is reportedly faster and more storage efficient than performing the in place 1.10 upgrade. This process is integrated into the 3.1 to 3.2 upgrade process. Normal config playbooks now become 3.2 only, and require Docker 1.10. Users of older environments will have to use an appropriate openshift-ansible version. Config playbooks no longer are in the business of upgrading or downgrading docker.
* | Fix version compare with using just 3.2 or 1.2.Devan Goodwin2016-05-251-2/+2
| |
* | Stop downgrading Docker because we don't know what version to install yet.Devan Goodwin2016-05-251-4/+10
| |
* | Work towards determining openshift_version when unspecified.Devan Goodwin2016-05-252-1/+4
|/ | | | | | | 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.
* Remove newline from docker_options template string.Andrew Butcher2016-05-191-3/+1
|
* 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.
* Add global proxy configurationScott Dodson2016-04-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Bug 1320829 - Handle OSE 3.0 installsBrenton Leanhardt2016-04-181-1/+1
|
* The openshift_docker role must set the version facts for containerized installsBrenton Leanhardt2016-04-142-1/+3
| | | | | | 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.
* Containerized installs on RHEL were downgrading docker unnecessarilyBrenton Leanhardt2016-04-121-3/+17
|
* Docker 1.9 is actually cool starting in origin 1.1.4Scott Dodson2016-04-061-1/+1
|
* Downgrade to docker 1.8.2 if installing OSE < 3.2Scott Dodson2016-04-052-0/+18
|
* Bug 1317755 - Set insecure-registry for internal registry by defaultJason DeTiberus2016-03-171-5/+12
|
* Move common common facts to openshift_factsJason DeTiberus2016-03-151-3/+0
| | | | | | | - Prevents roles that need common facts from needing to require openshift_common, which pulls in the openshift binary. - Add dependency on openshift_facts to os_firewall, since it uses openshift.common facts
* Docker role refactorJason DeTiberus2016-03-142-0/+50
- refactors the docker role to push generic config into docker role and wrap openshift specific variables into an openshift_docker role and it's dependent openshift_docker_facts role - adds support for setting --confirm-def-push flag (Resolves https://github.com/openshift/openshift-ansible/issues/1014) - moves docker related facts from common/node roles to a new docker role - renames cli_docker_* role varialbes to openshift_docker-* (maintaining backward compatibility) - update role dependencies to pull in openshift_docker conditionally based on is_containerized - remove playbooks/common/openshift-docker since the docker role is now conditionally included