Commit 0072aa28 authored by Jonas Carlo Jansen's avatar Jonas Carlo Jansen
Browse files

add default for package excludion when doing security updated

parent 800cd3d1
......@@ -6,7 +6,7 @@
until: yum_utils_install is succeeded
- name: Security updates only
command: yum -y --security update --exclude="{{ excluded_packages }}"
command: yum -y --security update --exclude="{{ excluded_packages | default(omit, true)}}"
warn: False
when: security_updates_only == "yes"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment