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