feat: add systemd-resolved for rocky
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
vincent 2023-02-27 20:49:41 +01:00
parent 569d1839c3
commit b7610e0f6b
2 changed files with 13 additions and 0 deletions

View File

@ -9,6 +9,9 @@
ansible.builtin.include_tasks: hostname.yml ansible.builtin.include_tasks: hostname.yml
- name: Include hosts - name: Include hosts
ansible.builtin.include_tasks: hosts.yml 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 - name: Include tasks.sysctl
ansible.builtin.include_tasks: tasks.sysctl.yml ansible.builtin.include_tasks: tasks.sysctl.yml
- name: Include wol - name: Include wol

View File

@ -0,0 +1,10 @@
---
- name: install Systemd-resolved
ansible.builtin.yum:
name: systemd-resolved
state: present
- name: enable Systemd-resolved
ansible.builtin.service:
name: systemd-resolved
state: started
enabled: true