diff --git a/jenkins/README.md b/jenkins/README.md new file mode 100644 index 0000000..11faea7 --- /dev/null +++ b/jenkins/README.md @@ -0,0 +1,4 @@ +# Jenkins + +This is a folder that contains playbooks that will executed with Jenkins when code is pushed to master. + diff --git a/jenkins/auto-securityupdates.yml b/jenkins/auto-securityupdates.yml new file mode 100644 index 0000000..122e948 --- /dev/null +++ b/jenkins/auto-securityupdates.yml @@ -0,0 +1,17 @@ + +--- + +- name: enable + hosts: linux + + tasks: + # https://galaxy.ansible.com/jnv/unattended-upgrades + - name: unattended-upgrades + become: true + include_role: + name: jnv.unattended-upgrades + vars: + #unattended_package_blacklist: [] + unattended_automatic_reboot: true + +