Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
yoho-ansible-roles
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chunhua.zhang
2019-10-18 14:30:11 +0800
Commit
afa40d2cf285ebed6aa72fd70e1fc4d30a9ba170
1 parent
bb0858a6
add
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
inventories/ops
playbooks/sec.config.sync
inventories/ops
View file @
afa40d2
[nameservers]
10.66.4.17
[sec]
10.66.105.244
10.66.70.70
[docker]
10.66.233.8
10.66.233.4
...
...
playbooks/sec.config.sync
0 → 100644
View file @
afa40d2
- hosts: sec
tasks:
- name: copy file to remote host
copy:
src: /root/.cert/sec.config.json
dest: /usr/local/openresty/nginx/conf/sec.config.json
- name: reload nginx
shell: '/usr/local/openresty/nginx/sbin/nginx -s reload'
...
...
Please
register
or
login
to post a comment