Update APT cache once

This commit is contained in:
Alex Kotov 2020-01-14 16:56:45 +05:00
parent 0df6c7ffed
commit e693ffeb34
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
4 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,6 @@
---
- name: Install iptables-persistent
apt:
update_cache: true
name: iptables-persistent
- name: Create directory for iptables configuration

View File

@ -1,4 +1,7 @@
---
- name: Update APT cache
apt:
update_cache: true
- include_tasks: usability.yml
- include_tasks: ssh.yml
- include_tasks: iptables.yml

View File

@ -1,7 +1,6 @@
---
- name: Install Nginx
apt:
update_cache: true
name: nginx
- name: Create directories for Nginx configuration

View File

@ -1,7 +1,6 @@
---
- name: Install useful packages
apt:
update_cache: true
name: ['bash-completion', 'colordiff', 'curl', 'less', 'vim']
- name: Install Vim config