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
Boxiang Sun
slapos.package
Commits
c0a3b524
Commit
c0a3b524
authored
Sep 13, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: new 'rina' role
parent
00c505a0
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
4 deletions
+20
-4
playbook/roles/re6stnet-upgrader/tasks/debian.yml
playbook/roles/re6stnet-upgrader/tasks/debian.yml
+0
-3
playbook/roles/repository/defaults/main.yml
playbook/roles/repository/defaults/main.yml
+2
-0
playbook/roles/repository/tasks/main.yml
playbook/roles/repository/tasks/main.yml
+1
-1
playbook/roles/rina/files/key_1A716324.gpg
playbook/roles/rina/files/key_1A716324.gpg
+0
-0
playbook/roles/rina/meta/main.yml
playbook/roles/rina/meta/main.yml
+3
-0
playbook/roles/rina/tasks/debian.yml
playbook/roles/rina/tasks/debian.yml
+8
-0
playbook/roles/rina/tasks/main.yml
playbook/roles/rina/tasks/main.yml
+4
-0
playbook/roles/rina/vars/main.yml
playbook/roles/rina/vars/main.yml
+2
-0
No files found.
playbook/roles/re6stnet-upgrader/tasks/debian.yml
View file @
c0a3b524
---
-
apt_key
:
data
:
"
{{
lookup('file',
'key_1A716324.gpg')
}}"
-
apt_key
:
data
:
"
{{
lookup('file',
'key_2EB4D2F994A63987.gpg')
}}"
...
...
playbook/roles/repository/defaults/main.yml
0 → 100644
View file @
c0a3b524
---
rina
:
False
playbook/roles/repository/tasks/main.yml
View file @
c0a3b524
---
-
name
:
Remove legacy repositories from git.erp5.org
apt_key
:
id=1A716324 state=absent
when
:
ansible_distribution == "Debian"
when
:
ansible_distribution == "Debian"
and not rina
-
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
...
...
playbook/roles/r
e6stnet-upgrader
/files/key_1A716324.gpg
→
playbook/roles/r
ina
/files/key_1A716324.gpg
View file @
c0a3b524
File moved
playbook/roles/rina/meta/main.yml
0 → 100644
View file @
c0a3b524
---
dependencies
:
-
{
role
:
repository
}
playbook/roles/rina/tasks/debian.yml
0 → 100644
View file @
c0a3b524
---
-
apt_key
:
data="{{ lookup('file', 'key_1A716324.gpg') }}"
-
apt_repository
:
repo='deb http://git.erp5.org/dist/deb ./'
-
apt
:
update_cache=yes
-
apt
:
name=linux-image-4.1.0-rina.1-amd64
-
apt
:
name=librinad-dev
-
apt
:
name=rinad
playbook/roles/rina/tasks/main.yml
0 → 100644
View file @
c0a3b524
---
#- include: "{{ ansible_distribution |lower }}.yml"
-
assert
:
{
that
:
"
ansible_distribution
==
'Debian'"
}
-
include
:
debian.yml
playbook/roles/rina/vars/main.yml
0 → 100644
View file @
c0a3b524
---
rina
:
True
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