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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Gambier
slapos.package
Commits
6d021d81
Commit
6d021d81
authored
Feb 04, 2020
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: make sure gpg package is installed before adding and removing package keys
parent
e7d98ea2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
playbook/roles/repository/tasks/debian_init.yml
playbook/roles/repository/tasks/debian_init.yml
+4
-0
playbook/roles/repository/tasks/main.yml
playbook/roles/repository/tasks/main.yml
+4
-2
playbook/util/upload-to-cache
playbook/util/upload-to-cache
+1
-1
No files found.
playbook/roles/repository/tasks/debian_init.yml
0 → 100644
View file @
6d021d81
-
apt
:
name=gpg state=present
when
:
ansible_distribution == "Debian"
playbook/roles/repository/tasks/main.yml
View file @
6d021d81
-
include
:
fedora_init.yml
-
include
:
debian_init.yml
-
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"
...
...
@@ -6,8 +10,6 @@
-
file
:
path=/etc/apt/sources.list.d/re6stnet.list state=absent
when
:
ansible_distribution == "Debian"
-
include
:
fedora_init.yml
-
name
:
Install Debian 10 repository key
apt_key
:
url={{ base_open_build_url }}/Debian_10/Release.key state=present
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "10"
...
...
playbook/util/upload-to-cache
View file @
6d021d81
rm -f /tmp/archive.tar.gz && tar -czvf /tmp/archive.tar.gz . && slapcache-upload --file=/tmp/archive.tar.gz
rm -f /tmp/archive.tar.gz && tar -czvf /tmp/archive.tar.gz . &&
~/workspace/slapcache/venv2/bin/
slapcache-upload --file=/tmp/archive.tar.gz
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