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
|
||||
- "{{ user }}"
|
||||
|
||||
- name: Workstation | Linux | Software | Docker | Config
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/docker/daemon.json
|
||||
content: |
|
||||
{
|
||||
"firewall-backend": "nftables",
|
||||
"iptables": false
|
||||
}
|
||||
- name: Workstation | Linux | Software | Docker | Config | Dir
|
||||
ansible.builtin.file:
|
||||
name: /etc/docker
|
||||
state: directory
|
||||
owner: root
|
||||
mode: '0644'
|
||||
when: ansible_pkg_mgr == "pacman"
|
||||
mode: '0755'
|
||||
|
||||
# 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