Configure docker after installation
This commit is contained in:
parent
00ca70a4e8
commit
fa69073a9b
1 changed files with 8 additions and 8 deletions
|
@ -25,14 +25,6 @@
|
|||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
||||
- name: Configure docker daemon
|
||||
template:
|
||||
src: templates/daemon.json
|
||||
dest: /etc/docker/daemon.json
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
|
||||
- name: Ensure packages are installed
|
||||
apt:
|
||||
name:
|
||||
|
@ -41,6 +33,14 @@
|
|||
- containerd.io
|
||||
state: present
|
||||
|
||||
- name: Configure docker daemon
|
||||
template:
|
||||
src: templates/daemon.json
|
||||
dest: /etc/docker/daemon.json
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
|
||||
#- hosts: swarm:!NAS
|
||||
# tasks:
|
||||
# - name: Mount NFS
|
||||
|
|
Loading…
Reference in a new issue