From 0597719a6c011d7e76a10d97749971d1e37c3107 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Tue, 14 May 2019 10:51:24 -0700 Subject: [PATCH] Starting to have Jenkins run jobs Time for a new branch --- jenkins/README.md | 4 ++++ jenkins/auto-securityupdates.yml | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 jenkins/README.md create mode 100644 jenkins/auto-securityupdates.yml 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 + +