Browse Source

roles/gitlab: update cache after apt

python3
Zolfa 5 years ago
parent
commit
423ea9a189
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      roles/gitlab/tasks/main.yaml

+ 4
- 0
roles/gitlab/tasks/main.yaml View File

@ -6,6 +6,9 @@
pkg:
- 'gnupg'
- 'ca-certificates'
state: 'present'
update_cache: true
cache_valid_time: 3600
tags:
- 'packages'
@ -21,6 +24,7 @@
apt_repository:
repo: '{{ item }}'
state: 'present'
update_cache: true
loop:
- 'deb https://packages.gitlab.com/gitlab/gitlab-ce/debian/ buster main'
- 'deb-src https://packages.gitlab.com/gitlab/gitlab-ce/debian/ buster main'


Loading…
Cancel
Save