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
fec59215
Commit
fec59215
authored
Jul 02, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stop opposite protocol service
parent
6c308784
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
ansible/protocols/oc/configure.yaml
ansible/protocols/oc/configure.yaml
+7
-0
ansible/protocols/wg/configure.yaml
ansible/protocols/wg/configure.yaml
+7
-2
No files found.
ansible/protocols/oc/configure.yaml
View file @
fec59215
-
name
:
'
{{conn.name}}:
stop
wireguard'
become
:
true
ignore_errors
:
true
systemd
:
name
:
'
wg-quick@{{conn.name}}'
state
:
stopped
enabled
:
no
-
name
:
'
{{conn.name}}:
tasks
for
{{conn.ocType}}'
-
name
:
'
{{conn.name}}:
tasks
for
{{conn.ocType}}'
include_tasks
:
'
./configure-{{conn.ocType}}.yaml'
include_tasks
:
'
./configure-{{conn.ocType}}.yaml'
ansible/protocols/wg/configure.yaml
View file @
fec59215
# 因为测试期间频繁改动参数,这里手动down掉
-
name
:
'
{{conn.name}}:
stop
oc'
# 调试wg的时候开这个,调试别的的时候注释掉
docker_compose
:
project_src
:
'
{{ansible_user_dir}}/nextgen-network/services'
stopped
:
true
services
:
-
'
openconnect-{{conn.name}}'
ignore_errors
:
true
-
name
:
'
{{conn.name}}:
wg
conf'
-
name
:
'
{{conn.name}}:
wg
conf'
become
:
true
become
:
true
template
:
template
:
...
...
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