Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
tun
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
Railgun
tun
Commits
ae6b46ed
Commit
ae6b46ed
authored
Dec 23, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into babeld
parents
6f1611e4
e60b51e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
1 deletion
+32
-1
ansible/configure.yaml
ansible/configure.yaml
+11
-0
ansible/migrate-chnroute.yaml
ansible/migrate-chnroute.yaml
+21
-1
No files found.
ansible/configure.yaml
View file @
ae6b46ed
...
@@ -97,6 +97,17 @@
...
@@ -97,6 +97,17 @@
with_items
:
'
{{
connections
}}'
with_items
:
'
{{
connections
}}'
when
:
"
not
noUpdateLinks
and
(not
onlyUpdateLink
or
item.name
==
onlyUpdateLink)
and
item.protocol
!=
'null'"
when
:
"
not
noUpdateLinks
and
(not
onlyUpdateLink
or
item.name
==
onlyUpdateLink)
and
item.protocol
!=
'null'"
# end
# end
-
name
:
disable bug self-link
become
:
true
ignore_errors
:
true
systemd
:
name
:
'
wg-quick@{{item}}'
state
:
stopped
enabled
:
false
masked
:
true
with_items
:
-
mc-{{inventory_hostname_short}}
-
mci{{inventory_hostname_short}}
-
name
:
services conf
-
name
:
services conf
copy
:
copy
:
content
:
'
{{dockerServices
|
to_yaml}}'
content
:
'
{{dockerServices
|
to_yaml}}'
...
...
ansible/migrate-chnroute.yaml
View file @
ae6b46ed
-
hosts
:
wg
-
hosts
:
wg
remote_user
:
root
remote_user
:
root
tasks
:
tasks
:
-
name
:
migrate
-
name
:
load vars
include_vars
:
file
:
'
../result/{{item}}.yaml'
with_items
:
-
global-vars
-
vars-{{inventory_hostname_short}}
-
name
:
post scripts
template
:
src
:
scripts/{{item}}.sh.j2
dest
:
'
{{ansible_user_dir}}/nextgen-network/scripts/{{item}}.sh'
mode
:
a+x
with_items
:
-
postup
-
predown
-
global-postup
-
utility
-
switch-rules-up
-
switch-rules-down
-
ocserv-postup
-
ocserv-predown
-
name
:
chnroute
become
:
true
become
:
true
shell
:
|
shell
:
|
ipset restore -f {{ansible_user_dir}}/nextgen-network/ipsets/chnrouter.ipset || true
ipset restore -f {{ansible_user_dir}}/nextgen-network/ipsets/chnrouter.ipset || true
...
...
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