feat: add systemd-resolved for rocky
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
569d1839c3
commit
b7610e0f6b
@ -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
|
||||||
|
10
tasks/systemd-resolved.yml
Normal file
10
tasks/systemd-resolved.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user