add systemd-resolvconf for arch
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
a2bc6b9824
commit
8c5e4a266b
@ -1,10 +1,16 @@
|
||||
---
|
||||
- name: install Systemd-resolved
|
||||
ansible.builtin.yum:
|
||||
- name: Install Systemd-resolved
|
||||
ansible.builtin.package:
|
||||
name: systemd-resolved
|
||||
state: present
|
||||
become: true
|
||||
when: ansible_os_family == "RedHat" or ansible_os_family == "Debian"
|
||||
|
||||
- name: install systemd-resolvconf
|
||||
ansible.builtin.package:
|
||||
name: systemd-resolvconf
|
||||
state: present
|
||||
when: ansible_os_family == "Archlinux"
|
||||
- name: enable Systemd-resolved
|
||||
ansible.builtin.service:
|
||||
name: systemd-resolved
|
||||
|
Loading…
Reference in New Issue
Block a user