enable systemd-resolved everywhere

This commit is contained in:
vincent 2023-10-21 15:20:07 +02:00
parent 80c92e3af1
commit a2bc6b9824
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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