diff --git a/tasks/workstation/linux/software/docker.yml b/tasks/workstation/linux/software/docker.yml index 6f308c4..5c99327 100644 --- a/tasks/workstation/linux/software/docker.yml +++ b/tasks/workstation/linux/software/docker.yml @@ -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'