diff --git a/basics.yml b/basics.yml index 96a3261..b67e290 100644 --- a/basics.yml +++ b/basics.yml @@ -146,7 +146,8 @@ command: systemctl enable dhcpcd args: creates: /etc/systemd/system/multi-user.target.wants/dhcpcd.service - when: mint.stat.exists == false or nocontainer.stat.exists == true + when: nocontainer.stat.exists == true + when: mint.stat.exists == false - name: No DHCPcd for internal interfaces ansible.builtin.lineinfile: