add check dhcpcd is installed

This commit is contained in:
vincent 2022-10-09 17:45:35 +02:00
parent 42e63506cd
commit d38494d67e

View File

@ -1,4 +1,8 @@
--- ---
- name: ensure dhcpcd is instaled
pacman:
name: dhcpcd
state: present
- name: change hostname setting - name: change hostname setting
lineinfile: lineinfile:
dest: /etc/dhcpcd.conf dest: /etc/dhcpcd.conf