forked from ISTI-ansible-roles/ansible-roles
library/roles/letsencrypt-acmetool-client/tasks/main.yml: Add an update_cache to the letsencrypt package installation task.
This commit is contained in:
parent
d84956e70a
commit
2e766d138f
|
@ -36,7 +36,7 @@
|
|||
tags: letsencrypt
|
||||
|
||||
- name: Install the letsencrypt acmetool package and some deps
|
||||
apt: pkg={{ item }} state={{ letsencrypt_acme_pkg_state }}
|
||||
apt: pkg={{ item }} state={{ letsencrypt_acme_pkg_state }} update_cache=yes cache_valid_time=3600
|
||||
with_items: '{{ letsencrypt_acme_pkgs }}'
|
||||
when:
|
||||
- letsencrypt_acme_install
|
||||
|
|
Loading…
Reference in New Issue