Skip to content

Commit 9311473

Browse files
author
Werner Dijkerman
committed
ansible-galaxy init command; default dirs
0 parents  commit 9311473

File tree

6 files changed

+170
-0
lines changed

6 files changed

+170
-0
lines changed

README.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
Role Name
2+
=========
3+
4+
A brief description of the role goes here.
5+
6+
Requirements
7+
------------
8+
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.
10+
11+
Role Variables
12+
--------------
13+
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 }
29+
30+
License
31+
-------
32+
33+
BSD
34+
35+
Author Information
36+
------------------
37+
38+
An optional section for the role authors to include contact information, or a website (HTML is not allowed).

defaults/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
# defaults file for wdijkerman.zabbix

handlers/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
# handlers file for wdijkerman.zabbix

meta/main.yml

+124
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
---
2+
galaxy_info:
3+
author: your name
4+
description:
5+
company: your company (optional)
6+
# Some suggested licenses:
7+
# - BSD (default)
8+
# - MIT
9+
# - GPLv2
10+
# - GPLv3
11+
# - Apache
12+
# - CC-BY
13+
license: license (GPLv2, CC-BY, etc)
14+
min_ansible_version: 1.2
15+
#
16+
# Below are all platforms currently available. Just uncomment
17+
# the ones that apply to your role. If you don't see your
18+
# platform on this list, let us know and we'll get it added!
19+
#
20+
#platforms:
21+
#- name: EL
22+
# versions:
23+
# - all
24+
# - 5
25+
# - 6
26+
# - 7
27+
#- name: GenericUNIX
28+
# versions:
29+
# - all
30+
# - any
31+
#- name: Fedora
32+
# versions:
33+
# - all
34+
# - 16
35+
# - 17
36+
# - 18
37+
# - 19
38+
# - 20
39+
#- name: opensuse
40+
# versions:
41+
# - all
42+
# - 12.1
43+
# - 12.2
44+
# - 12.3
45+
# - 13.1
46+
# - 13.2
47+
#- name: Amazon
48+
# versions:
49+
# - all
50+
# - 2013.03
51+
# - 2013.09
52+
#- name: GenericBSD
53+
# versions:
54+
# - all
55+
# - any
56+
#- name: FreeBSD
57+
# versions:
58+
# - all
59+
# - 8.0
60+
# - 8.1
61+
# - 8.2
62+
# - 8.3
63+
# - 8.4
64+
# - 9.0
65+
# - 9.1
66+
# - 9.1
67+
# - 9.2
68+
#- name: Ubuntu
69+
# versions:
70+
# - all
71+
# - lucid
72+
# - maverick
73+
# - natty
74+
# - oneiric
75+
# - precise
76+
# - quantal
77+
# - raring
78+
# - saucy
79+
# - trusty
80+
#- name: SLES
81+
# versions:
82+
# - all
83+
# - 10SP3
84+
# - 10SP4
85+
# - 11
86+
# - 11SP1
87+
# - 11SP2
88+
# - 11SP3
89+
#- name: GenericLinux
90+
# versions:
91+
# - all
92+
# - any
93+
#- name: Debian
94+
# versions:
95+
# - all
96+
# - etch
97+
# - lenny
98+
# - squeeze
99+
# - wheezy
100+
#
101+
# Below are all categories currently available. Just as with
102+
# the platforms above, uncomment those that apply to your role.
103+
#
104+
#categories:
105+
#- cloud
106+
#- cloud:ec2
107+
#- cloud:gce
108+
#- cloud:rax
109+
#- clustering
110+
#- database
111+
#- database:nosql
112+
#- database:sql
113+
#- development
114+
#- monitoring
115+
#- networking
116+
#- packaging
117+
#- system
118+
#- web
119+
dependencies: []
120+
# List your role dependencies here, one per line. Only
121+
# dependencies available via galaxy should be listed here.
122+
# Be sure to remove the '[]' above if you add dependencies
123+
# to this list.
124+

tasks/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
# tasks file for wdijkerman.zabbix

vars/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
# vars file for wdijkerman.zabbix

0 commit comments

Comments
 (0)