summaryrefslogtreecommitdiffstats
path: root/roles/docker
Commit message (Collapse)AuthorAgeFilesLines
* Fix review commentsManjunath A Kumatagi2016-08-271-2/+2
|
* Fix typoManjunath A Kumatagi2016-08-181-3/+3
|
* Fix errors in docker roleManjunath A Kumatagi2016-08-171-3/+4
|
* Clarify message when old docker pre-installed but 1.10+ requested.Devan Goodwin2016-07-151-1/+1
|
* Fix upgrade with docker_version set.Devan Goodwin2016-07-141-3/+3
|
* Fix more docker role logic.Devan Goodwin2016-07-131-2/+2
|
* Add checks to docker role for 1.9.1+.Devan Goodwin2016-07-131-3/+13
| | | | | | | | If Docker 1.8.2 is pre-installed, and no docker_version was requested, role will now error out because 1.9.1 is required. If docker_version is set to <= 1.9.1, we also error out as this is not supported.
* Remove/update TODOs.Devan Goodwin2016-07-081-2/+0
|
* Remove all debug used during devel of openshift_version.Devan Goodwin2016-07-081-5/+0
|
* Merge branch 'master' into upgrade33Devan Goodwin2016-07-041-1/+0
|\
| * Switch to repoquery, enable plugins for satellite supportScott Dodson2016-06-291-1/+0
| |
* | Only nuke images when crossing the Docker 1.10 boundary in upgrade.Devan Goodwin2016-06-272-1/+2
| |
* | Fix docker restarts during openshift_version role.Devan Goodwin2016-06-201-1/+0
| | | | | | | | | | | | | | | | | | 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.
* | Support setting a docker version in inventory.Devan Goodwin2016-06-201-1/+36
|/
* Remove Docker 1.10 requirement temporarily.Devan Goodwin2016-06-101-28/+0
| | | | | | Docker 1.10 is not widely available in RHEL / CentOS yet, lets remove the restriction for users of master / origin. We can revert as soon as it's available publically.
* Merge pull request #2005 from brenton/bz1338726Brenton Leanhardt2016-06-091-29/+30
|\ | | | | Bug 1338726 - never abort install if the latest version of docker is already installed
| * Bug 1338726 - never abort install if the latest version of docker is already ↵Brenton Leanhardt2016-06-081-1/+1
| | | | | | | | installed
| * Docker 1.10 UpgradeDevan Goodwin2016-06-031-29/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Preserve proxy config if it's undefinedScott Dodson2016-06-071-0/+1
|/
* Merge tag 'openshift-ansible-3.0.89-1'Brenton Leanhardt2016-05-091-1/+1
|\ | | | | | | Tagging package [openshift-ansible] version [3.0.89-1] in directory [./].
| * Use yum swap to downgrade dockerScott Dodson2016-05-091-1/+1
| |
* | Fix cli_docker_additional_registries being erased during upgrade.Devan Goodwin2016-05-091-1/+1
|/ | | | | | Legacy options (cli_*) were not being migrated during upgrade. Add the oo_all_hosts group, and migrate the facts as we do in the normal cluster playbooks.
* Don't set empty HTTP_PROXY, HTTPS_PROXY, NO_PROXY valuesScott Dodson2016-04-261-0/+1
|
* Add global proxy configurationScott Dodson2016-04-221-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix for docker not presentJason DeTiberus2016-04-221-1/+1
|
* Refactor docker failed state cleanupScott Dodson2016-04-151-14/+8
|
* start it, check for failure, reset it, start againScott Dodson2016-04-141-8/+11
|
* Enable docker before potentially resetting the failureScott Dodson2016-04-141-1/+10
|
* Containerized installs on RHEL were downgrading docker unnecessarilyBrenton Leanhardt2016-04-121-9/+14
|
* Fix a docker-storage sysconfig bug.Devan Goodwin2016-04-111-4/+3
|
* Test docker_version_result.stdout when determining if docker should be ↵Andrew Butcher2016-04-061-2/+2
| | | | installed/downgraded.
* Downgrade to docker 1.8.2 if installing OSE < 3.2Scott Dodson2016-04-053-23/+22
|
* Merge pull request #1614 from detiber/bz1317755Brenton Leanhardt2016-03-172-1/+3
|\ | | | | Bug 1317755 - Set insecure-registry for internal registry by default
| * Bug 1317755 - Set insecure-registry for internal registry by defaultJason DeTiberus2016-03-172-1/+3
| |
* | Fixing undefined variable checkKenny Woodson2016-03-161-4/+4
|/
* OSE/Origin < 3.2/1.2 should not get Docker 1.9Scott Dodson2016-03-141-1/+25
| | | | | | | | | | | RHEL and Centos docker-1.9 RPMs will have a Conflicts for origin and atomic-openshift < 3.2. If we left yum to its own devices we'd get a mess when trying to install once these packages land in the repos. So avoid installing docker-1.9 on Origin/OSE < 1.2/3.2. See: https://bugzilla.redhat.com/show_bug.cgi?id=1304038 Fedora doesn't keep old packages in repos so we just get the latest there. Docker 1.10 should be fine if and when it becomes available.
* Docker role refactorJason DeTiberus2016-03-141-0/+36
| | | | | | | | | | | | | | | - 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
* Libvirt provider fixesJason DeTiberus2016-03-101-2/+2
| | | | | | - Use difference filter instead of reject/equalto - add ability to override vcpu and memory config for vms - add a dedicated drive for docker storage
* Fixes typo assigning docker_service_status_changed which leads to ↵Eric Mountain2015-12-291-1/+1
| | | | | | misinterpretation in handler. Fixes Docker restart handling to ensure openshift_docker role does restart Docker on change.
* fixesJason DeTiberus2015-12-151-1/+4
|
* Containerization work by @sdodsonScott Dodson2015-12-152-3/+11
|
* Initial containerization work from @ibottyTobias Florek2015-12-151-1/+1
| | | | copied from https://github.com/eparis/kubernetes-ansible/blob/17f98edd7ff53e649b43e26822b8fbc0be42b233/roles/common/tasks/main.yml
* Remove yum / dnf duplicationScott Dodson2015-12-091-7/+2
|
* bring the docker udev workaround into openshift-ansible.gitJoel Diaz2015-12-046-129/+57
|
* Fedora changes:Adam Miller2015-12-021-0/+5
| | | | | | | | | | | | | - ansible bootstrap playbook for Fedora 23+ - add conditionals to handle yum vs dnf - add Fedora OpenShift COPR - update BYO host README for repo configs and fedora bootstrap Fix typo in etcd README, remove unnecessary parens in openshift_node main.yml rebase on master, update package cache refresh handler for yum vs dnf Fix typo in etcd README, remove unnecessary parens in openshift_node main.yml
* docker-storage role addedKenny Woodson2015-05-263-21/+5
|
* Revert "Jwhonce wip/cluster"Jhon Honce2015-03-241-1/+1
|
* Use docker as package name instead of docker-ioJason DeTiberus2015-03-241-1/+1
|
* Use ansible playbook to initialize openshift clusterJhon Honce2015-03-241-1/+1
| | | | | * Added playbooks/gce/openshift-cluster * Added bin/cluster (will replace cluster.sh)
* docker role cleanupJason DeTiberus2015-02-244-12/+3
| | | | | | - use service module for enabling/restarting docker service - remove unused role directories/files - use user module for adding the docker group to the root user