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
Arnaud Véron
slapos.package
Commits
f2fd5c95
Commit
f2fd5c95
authored
Jun 11, 2018
by
Guillaume Hervier
Committed by
Rafael Monnerat
Jul 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Add Router Advertisement re6stnet configuration role
parent
de5d5204
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
playbook/roles/routeadv/meta/main.yml
playbook/roles/routeadv/meta/main.yml
+6
-0
playbook/roles/routeadv/tasks/main.yml
playbook/roles/routeadv/tasks/main.yml
+27
-0
No files found.
playbook/roles/routeadv/meta/main.yml
0 → 100644
View file @
f2fd5c95
---
dependencies
:
-
re6stnet
-
role
:
package
package_name
:
dnsmasq
package_state
:
present
playbook/roles/routeadv/tasks/main.yml
0 → 100644
View file @
f2fd5c95
---
-
name
:
stop and disable dnsmasq (as it will be started by re6st)
service
:
name
:
dnsmasq
state
:
stopped
enabled
:
no
-
name
:
add dnsmasq in re6stnet config
lineinfile
:
dest
:
/etc/re6stnet/re6stnet.conf
insertafter
:
'
^key'
line
:
'
daemon
"exec
dnsmasq
-k8
-
-i
$re6stnet_iface
-F
${re6stnet_subnet%/*},ra-only,${re6stnet_subnet#*/},1d"'
notify
:
-
restart re6stnet
-
name
:
configure re6stnet main interface
lineinfile
:
dest
:
/etc/re6stnet/re6stnet.conf
insertafter
:
'
^daemon'
line
:
'
main-interface
{{
ansible_default_ipv4.interface
}}'
notify
:
-
restart re6stnet
-
name
:
configure re6stnet additional interface
lineinfile
:
dest
:
/etc/re6stnet/re6stnet.conf
insertafter
:
'
^main-interface'
line
:
'
interface
{{
ansible_default_ipv4.interface
}}'
notify
:
-
restart re6stnet
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