Add cache valid time and do not iterate over packages

This commit is contained in:
Emmanouil Kampitakis
2019-04-02 02:31:09 +02:00
parent 7c87375d95
commit b1ab9fb4db

View File

@@ -7,24 +7,24 @@
- name: Install essential packages
package:
name: "{{ item }}"
name:
- vim
- emacs
- git
- htop
- zsh
- python
- python3
- screen
- tmux
- dnsutils
- stow
- mosh
- fail2ban
- tig
- sudo
- aptitude
- curl
state: present
cache_valid_time: yes
become: true
with_items:
- vim
- emacs
- git
- htop
- zsh
- python
- python3
- screen
- tmux
- dnsutils
- stow
- mosh
- fail2ban
- tig
- sudo
- aptitude
- curl