Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
0619932c
Commit
0619932c
authored
Sep 13, 2022
by
Jérome Perrin
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
keep using insecure http repository for debian 8, 9 and 10
we use https only starting from debian 11
parent
44efa787
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
playbook/group_vars/all
playbook/group_vars/all
+1
-0
playbook/roles/repository/tasks/main.yml
playbook/roles/repository/tasks/main.yml
+5
-0
No files found.
playbook/group_vars/all
View file @
0619932c
---
base_open_build_url: https://download.opensuse.org/repositories/home:/VIFIBnexedi/
base_open_build_url_http: http://download.opensuse.org/repositories/home:/VIFIBnexedi/
is_ubuntu: "'{{ ansible_distribution }}' == 'Ubuntu'"
is_debian: "'{{ ansible_distribution }}' == 'Debian'"
...
...
playbook/roles/repository/tasks/main.yml
View file @
0619932c
...
...
@@ -3,6 +3,11 @@
-
include
:
debian_init.yml
-
name
:
Force HTTP repository for old debian versions without HTTPS support
set_fact
:
base_open_build_url
:
"
{{
base_open_build_url_http
}}"
when
:
ansible_distribution == 'Debian' and ansible_distribution_major_version in ("8", "9", "10")
-
name
:
Remove {{ base_open_build_url }} key (and add later) on every upgrade, as expiration date is quite short (2 months).
apt_key
:
id=94A63987 state=absent
when
:
ansible_distribution == "Debian"
...
...
Thomas Gambier
🚴🏼
@tomo
mentioned in commit
b68b3f17
·
Oct 24, 2022
mentioned in commit
b68b3f17
mentioned in commit b68b3f17f1de6a202c26531ce8caaa8eb06e1d69
Toggle commit list
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