system/tasks/dhcpcd.yml
vincent 3188ac3fd2
Some checks failed
continuous-integration/drone/push Build is failing
fix become issue
2022-05-31 14:32:33 +02:00

9 lines
157 B
YAML

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