enable systemd-resolved everywhere
This commit is contained in:
parent
80c92e3af1
commit
a2bc6b9824
@ -11,7 +11,6 @@
|
||||
ansible.builtin.include_tasks: hosts.yml
|
||||
- name: Inclide systemd-resolved
|
||||
ansible.builtin.include_tasks: systemd-resolved.yml
|
||||
when: ansible_os_family == "RedHat"
|
||||
- name: Include tasks.sysctl
|
||||
ansible.builtin.include_tasks: tasks.sysctl.yml
|
||||
- name: Include wol
|
||||
|
@ -4,6 +4,7 @@
|
||||
name: systemd-resolved
|
||||
state: present
|
||||
become: true
|
||||
when: ansible_os_family == "RedHat" or ansible_os_family == "Debian"
|
||||
- name: enable Systemd-resolved
|
||||
ansible.builtin.service:
|
||||
name: systemd-resolved
|
||||
|
Loading…
Reference in New Issue
Block a user