If we use dnf-automatic, install the packages too

This commit is contained in:
Jason Rothstein 2022-10-03 23:13:10 -05:00
parent 836c35a84c
commit 59a2c9016e
4 changed files with 23 additions and 0 deletions

View File

@ -9,3 +9,6 @@ service_list:
- name: 'dnf-automatic.timer'
state: 'started'
enabled: 'yes'
- name: 'dnf-automatic-install.timer'
state: 'started'
enabled: 'yes'

14
vars/CentOS-9-default.yml Normal file
View File

@ -0,0 +1,14 @@
---
# vars file for ensure_os_patch
package_list:
- name: 'dnf-automatic'
state: 'present'
- name: '*'
state: 'latest'
service_list:
- name: 'dnf-automatic.timer'
state: 'started'
enabled: 'yes'
- name: 'dnf-automatic-install.timer'
state: 'started'
enabled: 'yes'

View File

@ -9,3 +9,6 @@ service_list:
- name: 'dnf-automatic.timer'
state: 'started'
enabled: 'yes'
- name: 'dnf-automatic-install.timer'
state: 'started'
enabled: 'yes'

View File

@ -9,3 +9,6 @@ service_list:
- name: 'dnf-automatic.timer'
state: 'started'
enabled: 'yes'
- name: 'dnf-automatic-install.timer'
state: 'started'
enabled: 'yes'