Toggle navigation
Toggle navigation
This project
Loading...
Sign in
马力
/
yoho-ansible-roles
·
Commits
Go to a project
GitLab
Go to dashboard
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
2018-06-27 12:14:25 +0800
Commit
09722b398cb1d25197d4b9e95a7218425935a30f
1 parent
b289373b
confirm
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
playbooks/java-nginx.yml
roles/openresty/defaults/main.yml
roles/openresty/tasks/main.yml
playbooks/java-nginx.yml
View file @
09722b3
-
hosts
:
java-nginx
vars_prompt
:
-
name
:
"
confirmation"
prompt
:
"
please
confirm
to
sync
and
refresh
java-nginx
configuration.
Type
[YES]
to
continue"
remote_user
:
root
roles
:
-
openresty
...
...
roles/openresty/defaults/main.yml
View file @
09722b3
...
...
@@ -7,3 +7,5 @@ path: "/Data/local/openresty-1.9.15.1"
# nameserver config for nginx
nameservers
:
'
'
confirmation
:
'
'
...
...
roles/openresty/tasks/main.yml
View file @
09722b3
---
# tasks file for openresty
# make sure user type YES
-
name
:
"
make
sure
user
type
YES
to
confirm"
fail
:
msg
:
"
user
do
not
type
YES"
when
:
confirmation != 'YES'
# make sure path exist
-
stat
:
path
:
"
{{
path
}}"
...
...
Please
register
or
login
to post a comment