Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Sep 15, 2019
1 parent d1fb6e8 commit a5bc900
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions menu/roles/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,24 +213,24 @@
path: /etc/systemd/system/docker.service.d
register: docker_root

- name: Create docker.root.conf folder
file:
path: /etc/systemd/system/docker.service.d
state: directory
mode: 0775
when:
- docker_root.stat.exists == False
- switch == "on"
tags: docker_standard

- name: Import docker.root.conf file
copy:
src: docker.root.conf
dest: /etc/systemd/system/docker.service.d/docker.root.conf
force: yes
mode: 0775
tags: docker_standard
when: switch == "on"
# - name: Create docker.root.conf folder
# file:
# path: /etc/systemd/system/docker.service.d
# state: directory
# mode: 0775
# when:
# - docker_root.stat.exists == False
# - switch == "on"
# tags: docker_standard

# - name: Import docker.root.conf file
# copy:
# src: docker.root.conf
# dest: /etc/systemd/system/docker.service.d/docker.root.conf
# force: yes
# mode: 0775
# tags: docker_standard
# when: switch == "on"

# - name: Rsync docker files to new path
# shell: rsync -a /var/lib/docker/* /opt/docker
Expand Down

0 comments on commit a5bc900

Please sign in to comment.