aboutsummaryrefslogtreecommitdiff
path: root/roles/guest-configure/tasks/automatic-update.yml
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2023-06-17 00:43:37 -0400
committerspmfox <spmfox@foxwd.com>2023-06-17 00:43:37 -0400
commit44646dacd59db844e039a9ca566c7c48e35abe1b (patch)
tree6a25d4316c807327ff015c719ecec97b76ab58f7 /roles/guest-configure/tasks/automatic-update.yml
parentf035f1f259dd617e8d4459008d7e1165ea04c025 (diff)
ansible-lint cleanup
Diffstat (limited to 'roles/guest-configure/tasks/automatic-update.yml')
-rw-r--r--roles/guest-configure/tasks/automatic-update.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/guest-configure/tasks/automatic-update.yml b/roles/guest-configure/tasks/automatic-update.yml
index 71c102e..638328c 100644
--- a/roles/guest-configure/tasks/automatic-update.yml
+++ b/roles/guest-configure/tasks/automatic-update.yml
@@ -1,4 +1,5 @@
- name: RedHat block
+ when: ansible_os_family == "RedHat"
block:
- name: Install dnf-automatic (RedHat)
ansible.builtin.package:
@@ -7,7 +8,6 @@
- name: Enable dnf-automatic systemd service (RedHat)
ansible.builtin.service:
- name: dnf-automatic-install.timer
- enabled: yes
+ name: dnf-automatic-install.timer
+ enabled: true
state: started
- when: ansible_os_family == "RedHat"