From fda5ba1342638453cb5081b98472e6699a280df9 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 2 May 2023 10:34:13 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Ebasics.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- basics.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/basics.yml b/basics.yml index daf6e19..3a1a219 100644 --- a/basics.yml +++ b/basics.yml @@ -135,11 +135,17 @@ install_recommends: no when: nocontainer.stat.exists == false + - name: check if this is a mint system + stat: + path: /etc/linuxmint/mintSystem.conf + register: mint + - name: add dhcpcd to startup command: systemctl enable dhcpcd args: creates: /etc/systemd/system/multi-user.target.wants/dhcpcd.service when: nocontainer.stat.exists == true + when: mint.stat.exists == false - name: No DHCPcd for internal interfaces ansible.builtin.lineinfile: