|
|
Role Name
|
|
|
java.loglevel
|
|
|
=========
|
|
|
|
|
|
A brief description of the role goes here.
|
|
|
修改 java 模块的日志级别: `logback.xml`文件
|
|
|
|
|
|
Requirements
|
|
|
------------
|
|
|
|
|
|
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
|
|
|
|
|
|
Role Variables
|
|
|
--------------
|
|
|
|
|
|
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
|
|
|
|
|
|
参数:
|
|
|
- log_level: INFO (或者`WARN`)
|
|
|
- deploy_path: `/home/master`后面的路径
|
|
|
- context: `.tomcat/webapps`后面的路径
|
|
|
|
|
|
日志
|
|
|
支持的日志
|
|
|
------------
|
|
|
|
|
|
- `gateway`: `/home/master/yoho-gateway/deploy/.tomcat/webapps/gateway/WEB-INF/classes/logback.xml`
|
...
|
...
|
@@ -52,12 +47,8 @@ Example Playbook |
|
|
|
|
|
```
|
|
|
|
|
|
License
|
|
|
-------
|
|
|
|
|
|
BSD
|
|
|
|
|
|
|
|
|
Author Information
|
|
|
------------------
|
|
|
|
|
|
An optional section for the role authors to include contact information, or a website (HTML is not allowed). |
|
|
chunhua.zhang |
|
|
\ No newline at end of file |
...
|
...
|
|