14 lines
286 B
YAML
14 lines
286 B
YAML
---
|
|
- name: Ensure dhcpcd is instaled
|
|
community.general.pacman:
|
|
name: dhcpcd
|
|
state: present
|
|
become: true
|
|
- name: Change hostname setting
|
|
ansible.builtin.lineinfile:
|
|
dest: /etc/dhcpcd.conf
|
|
regexp: "^#hostname"
|
|
line: "hostname"
|
|
state: present
|
|
become: true
|