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
|
- name: Flush handlers
|
||||||
meta: 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
|
- name: Ensure packages are installed
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
|
@ -41,6 +33,14 @@
|
||||||
- containerd.io
|
- containerd.io
|
||||||
state: present
|
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
|
#- hosts: swarm:!NAS
|
||||||
# tasks:
|
# tasks:
|
||||||
# - name: Mount NFS
|
# - name: Mount NFS
|
||||||
|
|
Loading…
Reference in a new issue