Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
servers-config
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
servers-config
Commits
1cd3feaf
Commit
1cd3feaf
authored
Mar 02, 2018
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common/apt: only update the cache if older than 4 hours
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
00933329
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
roles/common/tasks/apt.yml
roles/common/tasks/apt.yml
+1
-1
No files found.
roles/common/tasks/apt.yml
View file @
1cd3feaf
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
-
name
:
update apt cache
-
name
:
update apt cache
apt
:
apt
:
update_cache
:
true
update_cache
:
true
cache_valid_time
:
300
cache_valid_time
:
14400
# 4 hours
-
name
:
install basic packages
-
name
:
install basic packages
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment