From eb0b94b2ca87ee1c338f158a565aafd76a969bd5 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Fri, 14 Jul 2017 14:26:42 +0300 Subject: [PATCH] - Correction for updated Docker CE installation. --- workstation.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/workstation.yml b/workstation.yml index 5217dd7..038b9f7 100644 --- a/workstation.yml +++ b/workstation.yml @@ -25,7 +25,7 @@ - name: APT install with_items: - network-manager - - docker.io + - docker-ce - ufw - libdvdcss2 - vagrant @@ -84,11 +84,12 @@ - Restart Docker - name: Configure Docker graph directory - lineinfile: - dest: /etc/default/docker - line: 'DOCKER_OPTS="--graph {{ docker_graph_directory }}"' - regexp: '^DOCKER_OPTS=' - state: present + copy: + content: "{{ {'graph': docker_graph_directory}|to_json }}" + dest: /etc/docker/daemon.json + owner: root + group: root + mode: 0o0644 notify: - Restart Docker -- GitLab