system/tasks/dhcpcd.yml
2021-11-14 17:13:49 +01:00

10 lines
143 B
YAML

---
- name: change hostname setting
lineinfile:
dest: /etc/dhcpcd.conf
regexp: "^#hostname"
line: "hostname"
state present