Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
float
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
float
Commits
9fc9fc02
Commit
9fc9fc02
authored
5 years ago
by
godog
Browse files
Options
Downloads
Patches
Plain Diff
apt: shorten cache validity while upgrading
Force an update when switching distributions
parent
00e80039
No related branches found
No related tags found
1 merge request
!96
Buster fixes
Pipeline
#6075
passed
5 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/base/tasks/apt.yml
+1
-1
1 addition, 1 deletion
roles/base/tasks/apt.yml
with
1 addition
and
1 deletion
roles/base/tasks/apt.yml
+
1
−
1
View file @
9fc9fc02
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
-
name
:
Run apt-get update
-
name
:
Run apt-get update
apt
:
apt
:
update_cache
:
yes
update_cache
:
yes
cache_valid_time
:
1800
cache_valid_time
:
'
{{
1800
if
ansible_distribution_release
==
float_debian_dist
else
1
}}'
# When testing, try to make dpkg faster by disabling fsync.
# When testing, try to make dpkg faster by disabling fsync.
-
name
:
Speed up dpkg
-
name
:
Speed up dpkg
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment