From 2f454464163467c3934cac7640510aa337fdb2a5 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 27 Jul 2016 19:26:47 +0200 Subject: [PATCH] library/roles/nagios/tasks/nagios.yml: Update the cache before installing packages. --- nagios/tasks/nagios.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nagios/tasks/nagios.yml b/nagios/tasks/nagios.yml index 7cbdc8d7..ddacb3e0 100644 --- a/nagios/tasks/nagios.yml +++ b/nagios/tasks/nagios.yml @@ -1,6 +1,6 @@ --- - name: Install the nagios packages - apt: pkg={{ item }} state=installed + apt: pkg={{ item }} state=installed update_cache=yes with_items: '{{ nagios_plugins_base_pkgs }}' tags: nagios