diff options
author | John O Loughlin <john.oloughlin@intel.com> | 2018-04-11 11:45:43 +0100 |
---|---|---|
committer | John O Loughlin <john.oloughlin@intel.com> | 2018-04-11 17:07:45 +0100 |
commit | 097adcf987a194e6aea7b654d83ff2aeb66389ba (patch) | |
tree | 85ba5914ed7321bd25eeabab1a46f5308f1c3fee /ansible/roles/docker/tasks | |
parent | 64c392afd017b412e8df9eda8ab08093b9933e6e (diff) |
Add docker support for Ubuntu 17.10 with Yardstick
JIRA: YARDSTICK-1119
Change-Id: I6d9b21667605f1c0a157c2a72e708c36b90e8c3a
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Diffstat (limited to 'ansible/roles/docker/tasks')
-rw-r--r-- | ansible/roles/docker/tasks/Debian.yml | 14 |
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" |