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
fd3f6d42
Commit
fd3f6d42
authored
Sep 15, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bc8d6c7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
install.yaml
install.yaml
+8
-1
tasks/dnsmasq.yaml
tasks/dnsmasq.yaml
+9
-0
No files found.
install.yaml
View file @
fd3f6d42
...
@@ -11,9 +11,16 @@
...
@@ -11,9 +11,16 @@
-
name
:
8021q
-
name
:
8021q
path
:
net/8021q/8021q.ko
path
:
net/8021q/8021q.ko
tasks
:
tasks
:
-
name
:
default ntp package
set_fact
:
ntp_package
:
ntpdate
-
name
:
debian 13 ntp package
set_fact
:
ntp_package
:
ntpsec-ntpdate
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version|int >=
13
-
name
:
apt
-
name
:
apt
apt
:
apt
:
name
:
net-tools,bridge-utils,pppoe,iproute2,iptables,ipset,subnetcalc,ifupdown,ifenslave,
ntpdate
,util-linux
name
:
net-tools,bridge-utils,pppoe,iproute2,iptables,ipset,subnetcalc,ifupdown,ifenslave,
{{ntp_package}}
,util-linux
update_cache
:
true
update_cache
:
true
-
name
:
Ubuntu things
-
name
:
Ubuntu things
apt
:
apt
:
...
...
tasks/dnsmasq.yaml
View file @
fd3f6d42
...
@@ -29,6 +29,15 @@
...
@@ -29,6 +29,15 @@
dest
:
'
{{ansible_user_dir}}/nextgen-router/services/dnsmasq/smartdns/china-list.conf'
dest
:
'
{{ansible_user_dir}}/nextgen-router/services/dnsmasq/smartdns/china-list.conf'
notify
:
restart_dnsmasq
notify
:
restart_dnsmasq
when
:
not (smartdns.external is defined and smartdns.external)
when
:
not (smartdns.external is defined and smartdns.external)
-
name
:
patch docker-compose main.py
become
:
true
lineinfile
:
path
:
"
/usr/local/lib/python{{
ansible_python.version.major
}}.{{
ansible_python.version.minor
}}/dist-packages/compose/cli/main.py"
regexp
:
'
.*pipes.*'
line
:
'
#
disabled'
backrefs
:
true
backup
:
true
when
:
ansible_python.version.minor >=
13
-
name
:
start dnsmasq
-
name
:
start dnsmasq
docker_compose
:
docker_compose
:
project_src
:
'
{{ansible_user_dir}}/nextgen-router/services/dnsmasq'
project_src
:
'
{{ansible_user_dir}}/nextgen-router/services/dnsmasq'
...
...
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