system/tasks/dhcpcd.yml
vincent 2aebfe22e6
Some checks failed
continuous-integration/drone/push Build is failing
fix: become to dhcpcd
2023-08-24 21:21:19 +02:00

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