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
b66691e2
Commit
b66691e2
authored
Nov 16, 2023
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
things
parent
b760534b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
48 additions
and
7 deletions
+48
-7
.gitignore
.gitignore
+1
-1
install_srvpro.yml
install_srvpro.yml
+1
-1
prepare.yml
prepare.yml
+2
-2
prom.yml
prom.yml
+5
-0
roles/nodejs/tasks/main.yml
roles/nodejs/tasks/main.yml
+3
-3
services.yml
services.yml
+4
-0
update-mypaper.yml
update-mypaper.yml
+13
-0
update-wordguard.yml
update-wordguard.yml
+19
-0
No files found.
.gitignore
View file @
b66691e2
...
...
@@ -65,4 +65,4 @@ typings/
/roles/init
/files/samba-data
/files/services
/files/prometheus.yaml
/files/prometheus
*
.yaml
install_srvpro.yml
View file @
b66691e2
...
...
@@ -9,7 +9,7 @@
roles
:
-
name
:
nodejs
vars
:
nodejs_version
:
1
6
nodejs_version
:
1
8
-
name
:
mono
when
:
server_type is not defined or server_type != "tournament"
tasks
:
...
...
nopasswd
.yml
→
prepare
.yml
View file @
b66691e2
...
...
@@ -12,9 +12,9 @@
group
:
root
mode
:
0700
when
:
ansible_ssh_user != 'root'
-
name
:
python3-distro
-
name
:
some apt packages
become
:
true
apt
:
name
:
python3-distro
name
:
python3-distro
,gnupg2
update_cache
:
true
ignore_errors
:
true
prom.yml
View file @
b66691e2
...
...
@@ -6,6 +6,11 @@
src
:
./files/prometheus.yaml
dest
:
'
{{prom_file}}'
notify
:
restart_prometheus
-
name
:
upload rules
copy
:
src
:
./files/prometheus-rules.yaml
dest
:
'
{{rules_file}}'
notify
:
restart_prometheus
handlers
:
-
name
:
restart_prometheus
docker_compose
:
...
...
roles/nodejs/tasks/main.yml
View file @
b66691e2
...
...
@@ -63,11 +63,11 @@
npm
:
name
:
'
n'
state
:
latest
registry
:
https://registry.npm.taobao.org
#
registry: https://registry.npm.taobao.org
global
:
true
-
name
:
nodejs version
become
:
true
shell
:
'
env
NODE_MIRROR=https://npm.taobao.org/mirrors/node/
n
{{nodejs_version}}'
shell
:
'
n
{{nodejs_version}}'
args
:
creates
:
/usr/local/bin/node
-
name
:
node setcap
...
...
@@ -83,7 +83,7 @@
npm
:
name
:
'
{{item}}'
state
:
latest
registry
:
https://registry.npm.taobao.org
#
registry: https://registry.npm.taobao.org
global
:
true
-
name
:
fixup npm directory
become
:
true
...
...
services.yml
View file @
b66691e2
...
...
@@ -24,6 +24,10 @@
archive
:
no
perms
:
yes
notify
:
handle
-
name
:
specific files
copy
:
'
{{item}}'
with_items
:
'
{{
specific_files
}}'
notify
:
handle
-
name
:
templates directory
file
:
path
:
'
{{
ansible_user_dir
}}/{{
service_path
}}/templates'
...
...
update-mypaper.yml
0 → 100644
View file @
b66691e2
---
-
hosts
:
mypaper
remote_user
:
root
tasks
:
-
name
:
synchronize
synchronize
:
src
:
~/zeeai/mypaper-vue/dist/
dest
:
~/nginx/mypaper-vue
recursive
:
yes
delete
:
yes
rsync_opts
:
-
"
--exclude=.git*"
-
"
--exclude=node_modules"
update-wordguard.yml
0 → 100644
View file @
b66691e2
---
-
hosts
:
wordguard
remote_user
:
root
tasks
:
-
name
:
synchronize
synchronize
:
src
:
~/zeeai/word-checker/
dest
:
~/services/wordguard
recursive
:
yes
delete
:
yes
rsync_opts
:
-
"
--exclude=.git*"
-
"
--exclude=node_modules"
-
name
:
docker-compose up -d
docker_compose
:
project_src
:
~/services
build
:
yes
services
:
-
wordguard
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