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
adc33d81
Commit
adc33d81
authored
Dec 15, 2015
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Remove legacy upgrade and legacy keys.
parent
0d675272
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
2 deletions
+21
-2
playbook/roles/upgrader/tasks/main.yml
playbook/roles/upgrader/tasks/main.yml
+2
-0
playbook/roles/upgrader/tasks/remove-legacy.yml
playbook/roles/upgrader/tasks/remove-legacy.yml
+12
-0
playbook/roles/vifib-team-ssh-key/files/remove_key_0
playbook/roles/vifib-team-ssh-key/files/remove_key_0
+1
-0
playbook/roles/vifib-team-ssh-key/tasks/main.yml
playbook/roles/vifib-team-ssh-key/tasks/main.yml
+6
-2
No files found.
playbook/roles/upgrader/tasks/main.yml
View file @
adc33d81
...
@@ -57,3 +57,5 @@
...
@@ -57,3 +57,5 @@
-
name
:
Set Cron
-
name
:
Set Cron
cron
:
name="Launch Upgrader" minute="0" hour="*/3" job='ansible-playbook upgrader-run.yml --with-vars "upgrader-playbook={{ upgrader_playbook }}" -i hosts >> /opt/upgrader/latest_upgrade.log'
cron
:
name="Launch Upgrader" minute="0" hour="*/3" job='ansible-playbook upgrader-run.yml --with-vars "upgrader-playbook={{ upgrader_playbook }}" -i hosts >> /opt/upgrader/latest_upgrade.log'
-
include
:
remove-legacy.yml
playbook/roles/upgrader/tasks/remove-legacy.yml
0 → 100644
View file @
adc33d81
-
name
:
Remoce cron entry
file
:
path={{ item }} state=absent
with_items
:
-
/etc/cron.d/slapkg-update
-
/usr/local/bin/slappkg-conf
-
/usr/local/bin/slappkg-update
-
/usr/local/bin/slappkg-upload-key
-
/usr/local/bin/slappkg-discover
-
/usr/local/bin/slappkg-update-raw
-
/etc/opt/update.cfg
-
/usr/local/lib/python2.7/dist-packages/slapos.package-0.2.1.1-py2.7.egg
playbook/roles/vifib-team-ssh-key/files/remove_key_0
0 → 100644
View file @
adc33d81
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdNp7qZMVAzNc07opHshiIFDmJpYXQpetfcSgUj39a409d42PpsJElp7WsAE/x0nN6gUIoWIl7UiAlMzf6bKSi60ioPE8RPTmiJVlgK1Gp+kE0x9yNcncYg7p38Jny0daVA/NkkpAFyRsAm5kLGzyLtaCcktSvy0cJuy7WSSHU05pd1f8Y8thofE9g5t+/JA2VZvipxPkRfkFAG3aOAGLULlTImTnS1qcMY9D1XB441oF5F6mMnl7yvY2d6vEHVBu+K+aKmAwZVfCUwtSpa/tq3i2Lppjrw3UfrxbQ7M2w9fsr+u+l4YYe+tJrX7rYJYXD7LIfZfdSeFTlHFaN/yI1 cedricdesaintmartin@SlapOS-One.local
playbook/roles/vifib-team-ssh-key/tasks/main.yml
View file @
adc33d81
-
name
:
Add
rafael
SSH Key
-
name
:
Add
R
SSH Key
authorized_key
:
user=root key="{{ lookup('file', 'rafael_key') }}"
authorized_key
:
user=root key="{{ lookup('file', 'rafael_key') }}"
-
name
:
Add
rafael
SSH Key
-
name
:
Add
A
SSH Key
authorized_key
:
user=root key="{{ lookup('file', 'alain_key') }}"
authorized_key
:
user=root key="{{ lookup('file', 'alain_key') }}"
-
name
:
Remove C Key
authorized_key
:
user=root key="{{ lookup('file', 'remove_key_0') }}" state=absent
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