From d38494d67e1e0326b88f16dab2e7dfe3a69a561f Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 9 Oct 2022 17:45:35 +0200 Subject: [PATCH] add check dhcpcd is installed --- tasks/dhcpcd.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/dhcpcd.yml b/tasks/dhcpcd.yml index c0f418b..3231eaa 100644 --- a/tasks/dhcpcd.yml +++ b/tasks/dhcpcd.yml @@ -1,4 +1,8 @@ --- +- name: ensure dhcpcd is instaled + pacman: + name: dhcpcd + state: present - name: change hostname setting lineinfile: dest: /etc/dhcpcd.conf