library/roles/nagios/tasks/nagios.yml: Update the cache before installing packages.

This commit is contained in:
Andrea Dell'Amico 2016-07-27 19:26:47 +02:00
parent b0431d49ac
commit 2f45446416
1 changed files with 1 additions and 1 deletions

View File

@ -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