Initial commit

This commit is contained in:
2024-02-25 01:16:42 +03:00
commit 30a9e6599d
12 changed files with 211 additions and 0 deletions

20
tasks/config.yml Normal file
View File

@@ -0,0 +1,20 @@
---
- name: create directories
file:
path: "{{ item }}"
state: directory
mode: '0755'
with_items:
- /etc/systemd/system/docker.service.d
- /etc/docker
- name: create daemon.json
template:
src: daemon-json.j2
dest: /etc/docker/daemon.json
mode: 0640
register: docker_daemon_json
notify:
- restart docker service
- meta: flush_handlers