From 47617442241154cd660f0fffe3f57c9b16a36455 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sun, 7 Jul 2019 20:03:49 -0400 Subject: [PATCH] add apt-maintenance defs in ubuntu/site.yml --- ubuntu/site.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ubuntu/site.yml b/ubuntu/site.yml index 0fcec1d..c020aae 100644 --- a/ubuntu/site.yml +++ b/ubuntu/site.yml @@ -7,6 +7,7 @@ roles: - common - turn-off-motd-news + - apt-maintenance - name: install PHP-FPM to required nodes hosts: php @@ -44,3 +45,10 @@ roles: - turn-off-motd-news + +- name: Add apt-maintenance cron job + hosts: myubuntunodes + user: root + + roles: + - apt-maintenance