summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/main.yml
Commit message (Collapse)AuthorAgeFilesLines
* Implement container runtime roleMichael Gugino2017-12-011-93/+0
|
* Merge pull request #6178 from giuseppe/copy-docker-to-alt-storage-pathMichael Gugino2017-11-271-4/+5
|\ | | | | docker: copy Docker metadata to the alternative storage path
| * docker: copy Docker metadata to the alternative storage pathGiuseppe Scrivano2017-11-201-4/+5
| | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | Include Deprecation - Init Playbook PathsRussell Teague2017-11-161-4/+4
|/
* Fixing islnk.Kenny Woodson2017-11-131-1/+1
|
* Merge pull request #6030 from giuseppe/fix-selinux-docker-tooOpenShift Merge Robot2017-11-061-0/+9
|\ | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. container-engine: ensure /var/lib/containers/ is properly labelled we were doing it only when CRI-O is installed. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1509880 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * container-engine: ensure /var/lib/containers/ is properly labelledGiuseppe Scrivano2017-11-061-0/+9
| | | | | | | | | | | | | | | | we were doing it only when CRI-O is installed. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1509880 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | Moving docker location to share path with system containers.Kenny Woodson2017-11-061-0/+45
|/
* docker: Create openshift_docker_is_node_or_master variableSteve Milner2017-10-271-1/+1
| | | | | | | | | | | | This can be used in place of: inventory_hostname in groups['oo_masters_to_config'] or \ inventory_hostname in groups['oo_nodes_to_config'] While the previous version works, this change helps with the tasks are run during AMI creation. Code written by Kenny Woodson @kwoodson.
* docker: Move enterprise registry from pkg to mainSteve Milner2017-10-191-0/+9
| | | | | | Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1503860 Signed-off-by: Steve Milner <smilner@redhat.com>
* crio, docker: use openshift_release when openshift_image_tag is not usedGiuseppe Scrivano2017-10-091-8/+0
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* docker: fix some tox warningsGiuseppe Scrivano2017-09-271-6/+6
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Require openshift_image_tag in the inventory with openshift-enterpriseGiuseppe Scrivano2017-09-271-0/+8
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* crio: skip installation on lbs and nfs nodesGiuseppe Scrivano2017-09-221-0/+1
| | | | | | Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1494461 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* roles: use openshift_use_crioGiuseppe Scrivano2017-08-251-2/+2
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* docker: introduce use_crio_onlyGiuseppe Scrivano2017-08-031-2/+3
| | | | | | | | Introduce a new variable that disable the installation of Docker. For the time being we will still need Docker for building images, so by default leave it installed. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* docker: skip Docker setup when using CRI-OGiuseppe Scrivano2017-08-031-1/+3
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* cri-o: Minor fixes for tasksSteve Milner2017-08-031-2/+1
|
* cri-o: configure storage and insecure registriesGiuseppe Scrivano2017-08-031-3/+7
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* cri-o: Allow cri-o usage.Steve Milner2017-08-031-0/+5
| | | | This change reuses the docker role to inject cri-o usage.
* Fix 1448368, and some other minors issuesGan Huang2017-05-051-4/+5
|
* System container dockerSteve Milner2017-05-031-112/+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
* Comma separate no_proxy host list in openshift_facts so that it appears as a ↵Andrew Butcher2017-01-251-1/+1
| | | | string everywhere it is used.
* Add new option 'openshift_docker_selinux_enabled'Russell Teague2017-01-241-1/+1
| | | | | Allows controlling 'selinux-enabled' docker options Can be set to true or false
* v1.3 Add RHAMPScott Dodson2017-01-171-8/+0
|
* Enable firewalld by defaultRussell Teague2016-12-141-10/+12
|
* YAML LintingRussell Teague2016-12-121-9/+9
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Refactor to use Ansible package moduleRussell Teague2016-11-171-1/+1
| | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Docker daemon is started prematurely.Eric Mountain2016-11-141-11/+11
| | | | | | | | | Docker service is started prior to configuration changes being applied. The service is then not restarted by the handlers, so configuration changes are not applied. We now start the docker service only once all config changes have been made.
* Added dependency of os_firewall to docker roleRussell Teague2016-11-141-3/+0
| | | | | | | | | | | The docker role requires iptables-services to be installed. Added dependency on so_firewall role to ensure the iptables service is installed first. Currently this will only work with iptables and not with firewalld. * Added allow_duplicates to os_firewall role meta * Removed unused task from docker/tasks * Corrected os_firewall Defaults in README
* Resolve docker and iptables service dependenciesRussell Teague2016-11-111-1/+13
| | | | | | | | | | The docker service adds rules to the iptables configuration to support proper network functionality for running containers. If the service is started prior to iptables, these rules are not properly created. * Ensure iptables is started prior to docker Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1390835
* Skip the docker role in early upgrade stages.Devan Goodwin2016-09-291-4/+4
| | | | | | | | This improves the situation further and prevents configuration changes from accidentally triggering docker restarts, before we've evacuated nodes. Now in two places, we skip the role entirely, instead of previous implementation which only skipped upgrading the installed version. (which did not catch config issues)
* 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
|
* Only nuke images when crossing the Docker 1.10 boundary in upgrade.Devan Goodwin2016-06-271-1/+1
|
* 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
| |