Add the tag docker_conf.

This commit is contained in:
Andrea Dell'Amico 2020-08-13 15:43:40 +02:00
parent 0d6b1a81c9
commit 5b4c34b29b
1 changed files with 2 additions and 0 deletions

View File

@ -5,11 +5,13 @@
template: src=docker-default.j2 dest={{ docker_defaults_file }} owner=root group=root mode=0644
when: ansible_service_mgr != 'systemd'
notify: Restart docker
tags: [ 'docker', 'docker_conf' ]
- name: Install the Docker daemon config
template: src=daemon.json.j2 dest=/etc/docker/daemon.json owner=root group=root mode=0644
when: ansible_service_mgr != 'systemd'
notify: Restart docker
tags: [ 'docker', 'docker_conf' ]
- name: Create the docker service systemd directory
file: dest=/etc/systemd/system/docker.service.d state=directory mode=0755