system/tasks/dhcpcd.yml
vincent 1419eaa003
All checks were successful
continuous-integration/drone/push Build is passing
style: correct ansible lint
2022-12-10 20:25:54 +01:00

13 lines
271 B
YAML

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