Skip to content

Commit 9e4c848

Browse files
committed
(#39) xmpp2: better update for apt
1 parent 06d5aab commit 9e4c848

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

xmpp2/docker.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,9 @@
1111
- vars.yml
1212

1313
tasks:
14-
- name: Update apt cache
15-
ansible.builtin.apt:
16-
update_cache: true
17-
cache_valid_time: 3600
18-
1914
- name: Install the Docker package
2015
ansible.builtin.apt:
16+
cache_valid_time: 86400
2117
name: docker.io
2218
state: present
2319

xmpp2/nginx.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@
1414
state: reloaded
1515

1616
tasks:
17-
- name: Update apt cache
18-
ansible.builtin.apt:
19-
update_cache: true
20-
cache_valid_time: 3600
21-
2217
- name: Install nginx package
2318
ansible.builtin.apt:
19+
cache_valid_time: 86400
2420
name: nginx
2521
state: present
2622

0 commit comments

Comments
 (0)