summaryrefslogtreecommitdiff
path: root/roles/openshift_docker_facts
AgeCommit message (Collapse)Author
2017-12-01Implement container runtime roleMichael Gugino
2017-09-27Migrate enterprise registry logic to docker roleMichael Gugino
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
2017-08-25cri-o: rename openshift_docker_use_crio to openshift_use_crioGiuseppe Scrivano
It is confusing to have _docker_ in the name, since they are two different backends. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-08-03openshift_docker_facts: Add use_crioSteve Milner
2017-06-01Add mtu setting to /etc/sysconfig/docker-networkScott Dodson
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1457062
2017-05-05Fix 1448368, and some other minors issuesGan Huang
2017-01-24Add new option 'openshift_docker_selinux_enabled'Russell Teague
Allows controlling 'selinux-enabled' docker options Can be set to true or false
2016-12-12YAML LintingRussell Teague
* Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
2016-10-26Default hosted_registry_insecure true when insecure registry present in ↵Andrew Butcher
existing /etc/sysconfig/docker.
2016-09-29Further secure registry improvementsAndrew Butcher
- 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
2016-09-02Secure registry for atomic registry deployment (deployment_subtype=registry).Andrew Butcher
2016-07-04Merge branch 'master' into upgrade33Devan Goodwin
2016-06-29Switch to repoquery, enable plugins for satellite supportScott Dodson
2016-06-20Fix docker restarts during openshift_version role.Devan Goodwin
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.
2016-06-10Remove unused docker facts tasks.Devan Goodwin
2016-06-10Merge branch 'master' into upgrade33Devan Goodwin
2016-06-03Docker 1.10 UpgradeDevan Goodwin
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.
2016-05-25Fix version compare with using just 3.2 or 1.2.Devan Goodwin
2016-05-25Stop downgrading Docker because we don't know what version to install yet.Devan Goodwin
2016-05-25Work towards determining openshift_version when unspecified.Devan Goodwin
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.
2016-05-19Remove newline from docker_options template string.Andrew Butcher
2016-05-16Fixes for openshift_docker_hosted_registry_insecure var.Devan Goodwin
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.
2016-04-22Add global proxy configurationScott Dodson
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
2016-04-18Bug 1320829 - Handle OSE 3.0 installsBrenton Leanhardt
2016-04-14The openshift_docker role must set the version facts for containerized installsBrenton Leanhardt
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.
2016-04-12Containerized installs on RHEL were downgrading docker unnecessarilyBrenton Leanhardt
2016-04-06Docker 1.9 is actually cool starting in origin 1.1.4Scott Dodson
2016-04-05Downgrade to docker 1.8.2 if installing OSE < 3.2Scott Dodson
2016-03-17Bug 1317755 - Set insecure-registry for internal registry by defaultJason DeTiberus
2016-03-15Move common common facts to openshift_factsJason DeTiberus
- 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
2016-03-14Docker role refactorJason DeTiberus
- 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