Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
playbooks
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
nanahira
playbooks
Commits
d3064773
Commit
d3064773
authored
Oct 28, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
2b4c122f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
7 deletions
+33
-7
chnroute.yml
chnroute.yml
+2
-2
tests/test-nvidia.yml
tests/test-nvidia.yml
+6
-0
tests/test-stdout.yml
tests/test-stdout.yml
+10
-0
tests/test-to-json.yml
tests/test-to-json.yml
+10
-0
worker.yml
worker.yml
+5
-5
No files found.
chnroute.yml
View file @
d3064773
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
copy
:
copy
:
src
:
'
../chnroute-reverse/chnroute-reverse.txt'
src
:
'
../chnroute-reverse/chnroute-reverse.txt'
dest
:
'
{{ansible_user_dir}}/chnroute-reverse.txt'
dest
:
'
{{ansible_user_dir}}/chnroute-reverse.txt'
owner
:
'
{{ansible_
ssh_user
}}'
owner
:
'
{{ansible_
user_id
}}'
group
:
'
{{ansible_
ssh_user
}}'
group
:
'
{{ansible_
user_id
}}'
mode
:
0644
mode
:
0644
notify
:
reload_list
notify
:
reload_list
handlers
:
handlers
:
...
...
tests/test-nvidia.yml
0 → 100644
View file @
d3064773
---
-
hosts
:
test-nvidia
remote_user
:
root
tasks
:
-
name
:
test nvidia
include_tasks
:
./roles/init/tasks/nvidia.yml
tests/test-stdout.yml
0 → 100644
View file @
d3064773
---
-
hosts
:
localhost
remote_user
:
nanahira
tasks
:
-
name
:
cat /etc/passwd
shell
:
cat /etc/passwdf ||
true
register
:
test_reg
-
name
:
test
debug
:
msg
:
'
{{test_reg}}'
tests/test-to-json.yml
0 → 100644
View file @
d3064773
---
-
hosts
:
localhost
remote_user
:
nanahira
tasks
:
-
name
:
test
debug
:
msg
:
'
{{
ansible_dns
|
to_json
}}'
-
name
:
test
debug
:
msg
:
'
{{
ansible_dns
|
to_yaml
}}'
worker.yml
View file @
d3064773
...
@@ -21,15 +21,15 @@
...
@@ -21,15 +21,15 @@
autoremove
:
true
autoremove
:
true
purge
:
true
purge
:
true
state
:
absent
state
:
absent
-
name
:
install ansible base
-
name
:
some apt packages
become
:
true
become
:
true
pip
:
apt
:
name
:
ansible-bas
e
update_cache
:
tru
e
state
:
latest
name
:
ocserv,apache2-utils
-
name
:
install pip packages
-
name
:
install pip packages
become
:
true
become
:
true
pip
:
pip
:
name
:
ansible,awscli
name
:
ansible
==2.9
,awscli
state
:
latest
state
:
latest
-
name
:
ansible
-
name
:
ansible
synchronize
:
synchronize
:
...
...
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