roles: The apt cache_valid_time implies update_cache

See: https://docs.ansible.com/ansible/latest/modules/apt_module.html
This commit is contained in:
2019-03-17 17:29:28 +02:00
parent c5b5cda3d3
commit 5957f5f2c5
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
add_mariadb_apt_repository is changed
- name: Install mariadb-server
apt: name={{ item }} state=present update_cache=yes
apt: name={{ item }} state=present cache_valid_time=3600
loop:
- mariadb-server
- python-mysqldb # for ansible