Showing
1 changed file
with
9 additions
and
22 deletions
1 | -Role Name | 1 | +java-rsyslog |
2 | ========= | 2 | ========= |
3 | 3 | ||
4 | -A brief description of the role goes here. | 4 | +> 使用`rsyslog`同步`java nginx、 gateway、服务`的日志到集中服务器上。 |
5 | +> | ||
6 | +> 支持的模块参考 `playbooks/java-nginx.yml` | ||
7 | + | ||
5 | 8 | ||
6 | Requirements | 9 | Requirements |
7 | ------------ | 10 | ------------ |
8 | 11 | ||
9 | -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. | 12 | +None |
13 | + | ||
10 | 14 | ||
11 | Role Variables | 15 | Role Variables |
12 | -------------- | 16 | -------------- |
13 | 17 | ||
14 | -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. | ||
15 | - | ||
16 | -Dependencies | ||
17 | ------------- | ||
18 | - | ||
19 | -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. | ||
20 | - | ||
21 | -Example Playbook | ||
22 | ----------------- | ||
23 | - | ||
24 | -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: | ||
25 | - | ||
26 | - - hosts: servers | ||
27 | - roles: | ||
28 | - - { role: username.rolename, x: 42 } | 18 | +> 参考 `playbooks/java-nginx.yml` |
29 | 19 | ||
30 | -License | ||
31 | -------- | ||
32 | 20 | ||
33 | -BSD | ||
34 | 21 | ||
35 | Author Information | 22 | Author Information |
36 | ------------------ | 23 | ------------------ |
37 | 24 | ||
38 | -An optional section for the role authors to include contact information, or a website (HTML is not allowed). | 25 | +chunhua.zhang@yoho.cn |
-
Please register or login to post a comment