9 lines
157 B
YAML
9 lines
157 B
YAML
---
|
|
- name: change hostname setting
|
|
lineinfile:
|
|
dest: /etc/dhcpcd.conf
|
|
regexp: "^#hostname"
|
|
line: "hostname"
|
|
state: present
|
|
become: true
|