summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/systemcontainer_docker.yml
Commit message (Collapse)AuthorAgeFilesLines
* Include Deprecation - Init Playbook PathsRussell Teague2017-11-161-1/+1
|
* Alternative method to create docker registry auth credsMichael Gugino2017-11-141-2/+6
| | | | | | | | | | | | | | | Currently, the command 'docker login' is run when using oreg with authentication. On some hosts, such as hosts configured to use system containers, the docker service is not running. 'docker login' will fail without the docker service running. This commit adds a module to idempotently add credentials to the registry credentials file without the use of 'docker login' Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374
* docker: set credentials when using system containerGiuseppe Scrivano2017-10-261-0/+2
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* systemcontainers: Verify atomic.conf proxy is always configuredSteve Milner2017-10-191-32/+4
| | | | | | | | | | | A new openshift_atomic role has been created for atomic specific tasks. The first task added is proxy which handles updating /etc/atomic.conf to ensure the proper proxy configuration is configured. This task file is then included (via include_role) in system container related task files. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1503903 Signed-off-by: Steve Milner <smilner@redhat.com>
* crio, docker: expect openshift_release to have 'v'Giuseppe Scrivano2017-10-101-1/+1
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* crio, docker: use openshift_release when openshift_image_tag is not usedGiuseppe Scrivano2017-10-091-2/+17
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Merge pull request #5490 from giuseppe/set-crio-docker-tag-for-oseOpenShift Merge Robot2017-10-031-1/+10
|\ | | | | | | | | | | | | Automatic merge from submit-queue. CRI-O, Docker: set the tag to the OpenShift release on RHEL Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1493376
| * docker: use the image_tag on RHELGiuseppe Scrivano2017-09-271-1/+10
| | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | Migrate enterprise registry logic to docker roleMichael Gugino2017-09-271-3/+3
|/ | | | | | | | | | | | | 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
* container-engine: Allow full image overrideSteve Milner2017-09-111-8/+12
| | | | | | | | | | | | | openshift_docker_systemcontainer_image_registry_override has been replaced with openshift_docker_systemcontainer_image_override. The difference is openshift_docker_systemcontainer_image_override takes a full image path including the tag. Example: openshift_docker_systemcontainer_image_override=gscrivano/container-engine:latest Signed-off-by: Steve Milner <smilner@redhat.com>
* Ensure proper fact evaluationScott Dodson2017-07-181-1/+1
|
* Wrap additional service changes in retriesScott Dodson2017-07-181-2/+10
|
* container-engine: Update Fedora registry urlSteve Milner2017-07-071-1/+1
|
* Install container-selinux with container-engineSteve Milner2017-07-061-0/+6
|
* rename daemon.json to container-daemon.jsonSteve Milner2017-06-051-4/+6
| | | | | | The container-engine build has moved daemon.json to container-daemon.json to avoid collision. This change updates the template file location to follow suit.
* Remove typos that got reintroducedSteve Milner2017-05-251-2/+2
|
* Remove system-package=no from container-engine installSteve Milner2017-05-251-2/+0
|
* Add regexp for container-engine lineinfileSteve Milner2017-05-161-0/+5
| | | | | This ensures that if the line already exists it will be updated with the expected results from the installer.
* use dest instead of path for lineinfileSteve Milner2017-05-151-6/+6
| | | | | | | Switching to dest instead of path for lineinfile. path is the name for ansible 2.3+ though dest will work for 2.2 and 2.3. Ref: http://docs.ansible.com/ansible/lineinfile_module.html
* Add NO_PROXY workaround for container-engine atomic commandSteve Milner2017-05-151-0/+4
| | | | Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1450310
* Add no_proxy to atomic.confSteve Milner2017-05-151-1/+9
| | | | Requires: https://github.com/projectatomic/atomic/pull/999
* Add docker package for container-engine installSteve Milner2017-05-141-11/+15
| | | | | The package is required so that openshift_facts is able to use the docker client to gain information on the versions.
* Always add proxy items to atomic.confSteve Milner2017-05-121-4/+1
|
* Move container-engine systemd environment to updated locationSteve Milner2017-05-121-2/+2
|
* Ensure true is lowercase in daemon.jsonSteve Milner2017-05-101-0/+1
|
* Use local variables for daemon.json templateSteve Milner2017-05-081-0/+8
| | | | | | | | | | | Instead of using bare lists and dicts this change converts variables into json for use with daemon.json. jinja2 does have an ability to do this in side of templates, however it is only available in 2.9+. Until then the use of ansible's to_json in the playbook is being used. Refs: - http://jinja.pocoo.org/docs/2.9/templates/#tojson - http://docs.ansible.com/ansible/playbooks_filters.html#filters-for-formatting-data
* Fix 1448368, and some other minors issuesGan Huang2017-05-051-11/+11
|
* System container dockerSteve Milner2017-05-031-0/+135
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