system/tasks/dhcpcd.yml
2022-10-09 17:45:35 +02:00

13 lines
237 B
YAML

---
- name: ensure dhcpcd is instaled
pacman:
name: dhcpcd
state: present
- name: change hostname setting
lineinfile:
dest: /etc/dhcpcd.conf
regexp: "^#hostname"
line: "hostname"
state: present
become: true