Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Arnaud Véron
slapos.package
Commits
a710cc10
Commit
a710cc10
authored
3 years ago
by
Thomas Gambier
🚴🏼
Browse files
Options
Download
Email Patches
Plain Diff
playbook: older ubuntu and debian don't support --allow-releaseinfo-change option
parent
3cc8b3ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
playbook/roles/repository/tasks/debian_init.yml
playbook/roles/repository/tasks/debian_init.yml
+2
-1
No files found.
playbook/roles/repository/tasks/debian_init.yml
View file @
a710cc10
-
name
:
Allow release-info to change for APT repositories
command
:
apt-get update -y --allow-releaseinfo-change
when
:
ansible_os_family == "Debian" or ansible_os_family == "Linuxmint"
when
:
(ansible_distribution == "Debian" and ansible_ditribution_major_version|int > 9) or
(ansible_ditribution == "Ubuntu" and ansible_ditribution_major_version|int > 18)
-
name
:
Install gpg using apt
apt
:
name=gpg state=present
...
...
This diff is collapsed.
Click to expand it.
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