Use cache_valid_time for apt module

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-03-19 16:12:31 +01:00
parent afe4d8934c
commit ec1d0b1197
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -3,6 +3,7 @@
- name: Install nginx package
apt:
name: nginx
cache_valid_time: 86400
- name: Ensure nginx service is disabled and stopped
systemd: