Add cache valid time and do not iterate over packages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user