summaryrefslogtreecommitdiff
path: root/roles/docker
AgeCommit message (Collapse)Author
2016-06-10Remove Docker 1.10 requirement temporarily.Devan Goodwin
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.
2016-06-09Merge pull request #2005 from brenton/bz1338726Brenton Leanhardt
Bug 1338726 - never abort install if the latest version of docker is already installed
2016-06-08Bug 1338726 - never abort install if the latest version of docker is already ↵Brenton Leanhardt
installed
2016-06-07Preserve proxy config if it's undefinedScott Dodson
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-09Merge tag 'openshift-ansible-3.0.89-1'Brenton Leanhardt
Tagging package [openshift-ansible] version [3.0.89-1] in directory [./].
2016-05-09Use yum swap to downgrade dockerScott Dodson
2016-05-09Fix cli_docker_additional_registries being erased during upgrade.Devan Goodwin
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.
2016-04-26Don't set empty HTTP_PROXY, HTTPS_PROXY, NO_PROXY valuesScott Dodson
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-22Fix for docker not presentJason DeTiberus
2016-04-15Refactor docker failed state cleanupScott Dodson
2016-04-14start it, check for failure, reset it, start againScott Dodson
2016-04-14Enable docker before potentially resetting the failureScott Dodson
2016-04-12Containerized installs on RHEL were downgrading docker unnecessarilyBrenton Leanhardt
2016-04-11Fix a docker-storage sysconfig bug.Devan Goodwin
2016-04-06Test docker_version_result.stdout when determining if docker should be ↵Andrew Butcher
installed/downgraded.
2016-04-05Downgrade to docker 1.8.2 if installing OSE < 3.2Scott Dodson
2016-03-17Merge pull request #1614 from detiber/bz1317755Brenton Leanhardt
Bug 1317755 - Set insecure-registry for internal registry by default
2016-03-17Bug 1317755 - Set insecure-registry for internal registry by defaultJason DeTiberus
2016-03-16Fixing undefined variable checkKenny Woodson
2016-03-14OSE/Origin < 3.2/1.2 should not get Docker 1.9Scott Dodson
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.
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
2016-03-10Libvirt provider fixesJason DeTiberus
- Use difference filter instead of reject/equalto - add ability to override vcpu and memory config for vms - add a dedicated drive for docker storage
2015-12-29Fixes typo assigning docker_service_status_changed which leads to ↵Eric Mountain
misinterpretation in handler. Fixes Docker restart handling to ensure openshift_docker role does restart Docker on change.
2015-12-15fixesJason DeTiberus
2015-12-15Containerization work by @sdodsonScott Dodson
2015-12-15Initial containerization work from @ibottyTobias Florek
copied from https://github.com/eparis/kubernetes-ansible/blob/17f98edd7ff53e649b43e26822b8fbc0be42b233/roles/common/tasks/main.yml
2015-12-09Remove yum / dnf duplicationScott Dodson
2015-12-04bring the docker udev workaround into openshift-ansible.gitJoel Diaz
2015-12-02Fedora changes:Adam Miller
- 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
2015-05-26docker-storage role addedKenny Woodson
2015-03-24Revert "Jwhonce wip/cluster"Jhon Honce
2015-03-24Use docker as package name instead of docker-ioJason DeTiberus
2015-03-24Use ansible playbook to initialize openshift clusterJhon Honce
* Added playbooks/gce/openshift-cluster * Added bin/cluster (will replace cluster.sh)
2015-02-24docker role cleanupJason DeTiberus
- 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
2015-02-16- Rename minion to nodeJhon Honce
- Update playbooks to support latest code
2014-09-16Initial Commit. Sharing is caringKenny Woodson