forked from ISTI-ansible-roles/ansible-roles
library/roles/nagios/tasks/nagios.yml: Update the cache before installing packages.
This commit is contained in:
parent
b0431d49ac
commit
2f45446416
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Install the nagios packages
|
- name: Install the nagios packages
|
||||||
apt: pkg={{ item }} state=installed
|
apt: pkg={{ item }} state=installed update_cache=yes
|
||||||
with_items: '{{ nagios_plugins_base_pkgs }}'
|
with_items: '{{ nagios_plugins_base_pkgs }}'
|
||||||
tags: nagios
|
tags: nagios
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue