summaryrefslogtreecommitdiffstats
path: root/ansible/roles/docker/tasks/Debian.yml
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-04-25 16:50:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-25 16:50:25 +0000
commitfd142c3fa24d0df4696deaae7d936770c6593edd (patch)
treed1ab953b2a41e5af0836b0ec2bed0491e14d8600 /ansible/roles/docker/tasks/Debian.yml
parent7e2c35c4c33563d2007398f19f924cef9055ef4d (diff)
parent097adcf987a194e6aea7b654d83ff2aeb66389ba (diff)
Merge "Add docker support for Ubuntu 17.10 with Yardstick"
Diffstat (limited to 'ansible/roles/docker/tasks/Debian.yml')
-rw-r--r--ansible/roles/docker/tasks/Debian.yml14
1 files changed, 2 insertions, 12 deletions
diff --git a/ansible/roles/docker/tasks/Debian.yml b/ansible/roles/docker/tasks/Debian.yml
index cf4128774..7f998de45 100644
--- a/ansible/roles/docker/tasks/Debian.yml
+++ b/ansible/roles/docker/tasks/Debian.yml
@@ -12,15 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
- - name: add Ubuntu docker repo
- apt_repository: repo='deb [trusted=yes] {{ ubuntu_docker_url }} ubuntu-{{ ansible_distribution_release }} main' state=present
-
- - name: ensure correct docker version
- action: "{{ ansible_pkg_mgr }} name={{ item }} state=present force=yes"
- with_items: "{{ docker_packages[ansible_os_family] }}"
-
- - name: remove Ubuntu docker repo
- apt_repository:
- repo: 'deb [trusted=yes] {{ ubuntu_docker_url }} ubuntu-{{ ansible_distribution_release }} main'
- state: absent
- update_cache: no
+ - name: Install docker.io
+ action: "{{ ansible_pkg_mgr }} name=docker.io state=present force=yes"