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
Carlos Ramos Carreño
slapos.package
Commits
5b8a649e
Commit
5b8a649e
authored
Sep 04, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Ensure that re6stnet will work on the startup or after an upgrade.
parent
1590be1e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
playbook/roles/vifib-server/tasks/main.yml
playbook/roles/vifib-server/tasks/main.yml
+15
-6
No files found.
playbook/roles/vifib-server/tasks/main.yml
View file @
5b8a649e
...
@@ -23,15 +23,24 @@
...
@@ -23,15 +23,24 @@
-
include
:
kvm.yml
-
include
:
kvm.yml
-
include
:
shuttle-modprobe.yml
-
include
:
shuttle-modprobe.yml
-
name
:
Include table 0 on re6st
-
name
:
Check if re6stnet is configured
shell
:
echo "TODO"
stat
:
path=/etc/re6stnet/re6stnet.conf
register
:
re6stnet_conf
-
name
:
interface on re6st
-
name
:
Check if ip6tables check script is present
shell
:
echo "TODO"
stat
:
path=/usr/bin/re6stnet-ip6tables-check
register
:
ip6tables_check
-
name
:
Run re6stnet-ip6tables-check
shell
:
/usr/bin/re6stnet-ip6tables-check
when
:
ip6tables_check.stat.exists == True
-
name
:
Start re6st-node service if not started
service
:
name=re6stnet state=started enabled=yes
when
:
re6stnet_conf.stat.exists == True
-
name
:
Increase ulimit
-
name
:
Increase ulimit
shell
:
echo "TODO"
shell
:
echo "TODO"
-
name
:
Set Cron
-
name
:
Set Cron
cron
:
name="Launch Startup with ansible" special_time=reboot job='cd /opt/upgrader/playbook && ansible-playbook vifib-startup.yml -i hosts 2>>/opt/upgrader/startup.log >> /opt/upgrader/startup.log'
cron
:
name="Launch Startup with ansible" special_time=reboot job='cd /opt/upgrader/playbook && ansible-playbook vifib-startup.yml -i hosts 2>>/opt/upgrader/startup.log >> /opt/upgrader/startup.log'
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