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 - name: Install nginx package
apt: apt:
name: nginx name: nginx
cache_valid_time: 86400
- name: Ensure nginx service is disabled and stopped - name: Ensure nginx service is disabled and stopped
systemd: systemd: