Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nextgen-router
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
MyCard
nextgen-router
Commits
71882d3c
Commit
71882d3c
authored
Dec 08, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make it possible to single run
parent
656896c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
18 deletions
+17
-18
network.yaml
network.yaml
+17
-10
services.yaml
services.yaml
+0
-8
No files found.
network.yaml
View file @
71882d3c
...
@@ -78,17 +78,14 @@
...
@@ -78,17 +78,14 @@
-
name
:
pppoe password
-
name
:
pppoe password
become
:
true
become
:
true
blockinfile
:
blockinfile
:
path
:
/etc/ppp/
pap
-secrets
path
:
/etc/ppp/
{{item}}
-secrets
block
:
|
block
:
|
"{{item.username}}" * "{{item.password}}"
{% for user in pppoeUsers %}
with_items
:
'
{{pppoeUsers}}'
"{{user.username}}" * "{{user.password}}"
-
name
:
pppoe password
{% endfor %}
become
:
true
with_items
:
blockinfile
:
-
pap
path
:
/etc/ppp/chap-secrets
-
chap
block
:
|
"{item.username}}" * "{{item.password}}"
with_items
:
'
{{pppoeUsers}}'
-
name
:
pppoe post scripts
-
name
:
pppoe post scripts
become
:
true
become
:
true
template
:
template
:
...
@@ -103,3 +100,13 @@
...
@@ -103,3 +100,13 @@
vars
:
vars
:
ppp
:
'
{{item}}'
ppp
:
'
{{item}}'
with_items
:
'
{{ppps}}'
with_items
:
'
{{ppps}}'
-
name
:
accept ra
become
:
true
blockinfile
:
path
:
/etc/sysctl.conf
block
:
|
{% for br in bridges %}
{% if br.dhcpv6 %}
net.ipv6.conf.{{br.name}}.accept_ra = 2
{% endif %}
{% endfor %}
services.yaml
View file @
71882d3c
...
@@ -14,14 +14,6 @@
...
@@ -14,14 +14,6 @@
-
my-card.in
-
my-card.in
-
mius.pro
-
mius.pro
tasks
:
tasks
:
-
name
:
accept ra
become
:
true
sysctl
:
name
:
net.ipv6.conf.{{item.name}}.accept_ra
value
:
2
sysctl_set
:
true
with_items
:
'
{{bridges}}'
when
:
item.dhcpv6
-
name
:
dnsmasq directory
-
name
:
dnsmasq directory
file
:
file
:
name
:
'
{{ansible_user_dir}}/nextgen-router/services/dnsmasq/smartdns'
name
:
'
{{ansible_user_dir}}/nextgen-router/services/dnsmasq/smartdns'
...
...
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