From a7fb22cb44cc93dd39fd1505b96b5ada38469afc Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Fri, 6 May 2016 09:46:58 -0400 Subject: [PATCH] Docker fixes for MDS Fixes to make the ceph-mds role work with Docker Signed-off-by: Daniel Gryniewicz --- roles/ceph-mds/tasks/docker/pre_requisite.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/ceph-mds/tasks/docker/pre_requisite.yml b/roles/ceph-mds/tasks/docker/pre_requisite.yml index bfa8d7a72..ef0116c34 100644 --- a/roles/ceph-mds/tasks/docker/pre_requisite.yml +++ b/roles/ceph-mds/tasks/docker/pre_requisite.yml @@ -9,6 +9,8 @@ - docker - docker.io when: ansible_distribution == 'Ubuntu' + tags: + with_pkg - name: install pip and docker on debian apt: @@ -19,6 +21,8 @@ - python-pip - docker-engine when: ansible_distribution == 'Debian' + tags: + with_pkg - name: install pip and docker on redhat yum: @@ -30,6 +34,8 @@ when: ansible_os_family == 'RedHat' and ansible_pkg_mgr == "yum" + tags: + with_pkg - name: install pip and docker on redhat dnf: @@ -41,6 +47,8 @@ when: ansible_os_family == 'RedHat' and ansible_pkg_mgr == "dnf" + tags: + with_pkg # NOTE (jimcurtis): need at least version 1.9.0 of six or we get: # re:NameError: global name 'DEFAULT_DOCKER_API_VERSION' is not defined @@ -48,9 +56,13 @@ pip: name: six version: 1.9.0 + tags: + with_pkg # NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227 - name: install docker-py pip: name: docker-py version: 1.1.0 + tags: + with_pkg