docker, remove the daemon.json file.
This commit is contained in:
1 parent
6117a65009
commit
373b03d46c
1 file changed
+25
-10
@@ -26,14 +26,29 @@
|
|||||||
- root
|
- root
|
||||||
- "{{ user }}"
|
- "{{ user }}"
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | Docker | Config
|
- name: Workstation | Linux | Software | Docker | Config | Dir
|
||||||
ansible.builtin.copy:
|
ansible.builtin.file:
|
||||||
dest: /etc/docker/daemon.json
|
name: /etc/docker
|
||||||
content: |
|
state: directory
|
||||||
{
|
|
||||||
"firewall-backend": "nftables",
|
|
||||||
"iptables": false
|
|
||||||
}
|
|
||||||
owner: root
|
owner: root
|
||||||
mode: '0644'
|
mode: '0755'
|
||||||
when: ansible_pkg_mgr == "pacman"
|
|
||||||
|
# This was causing the docker daemon to fail. Was trying to fix ports mappings.
|
||||||
|
#- name: Workstation | Linux | Software | Docker | Config | File
|
||||||
|
# ansible.builtin.copy:
|
||||||
|
# dest: /etc/docker/daemon.json
|
||||||
|
# content: |
|
||||||
|
# {
|
||||||
|
# "firewall-backend": "nftables"
|
||||||
|
# }
|
||||||
|
# backup: false
|
||||||
|
# owner: root
|
||||||
|
# mode: '0644'
|
||||||
|
# when: ansible_pkg_mgr == "pacman"
|
||||||
|
|
||||||
|
- name: Workstation | Linux | Software | Docker | Config | File
|
||||||
|
ansible.builtin.file:
|
||||||
|
name: /etc/docker/daemon.json
|
||||||
|
state: absent
|
||||||
|
owner: root
|
||||||
|
mode: '0755'
|
||||||
Reference in new issue
Block a user