ansible_make_role 0.7.8 → 0.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -9
- data/exe/ansible-make-role +1 -1
- data/lib/ansible_make_role/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9b8638421a96b17f3ff792b156c82ad46514a22762f772357213a1944cd09ff
|
4
|
+
data.tar.gz: 830f6c5592ef11571f0ad3092ce39cf9d6c4b79bb5bb3747e68f65ae696d2963
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f71300995da1f30d7e8fff7d05b25855b1b073de011c8e7d9a78e9714d65f7718eaa95447ff250a03b10ad6bb97525a71b1dbdfd37f91426152b2265e8fafc9
|
7
|
+
data.tar.gz: e917a67e699c2190ed5921d615b3e28bb85990da813dd19fe16ed59c29f4788f83ffd2dcc437cc053e420b14885f41f27d9c688d171638002254b7bbd23c3a2c
|
data/README.md
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
# ansible-make-role
|
2
2
|
|
3
3
|
Pre-compiler that turns a single-file role definition into Ansible role files.
|
4
|
-
The `role.yml` file combines the Ansible `main.yml`
|
5
|
-
|
4
|
+
The single-file `role.yml` file combines the Ansible `main.yml` files from the
|
5
|
+
`defaults`, `vars`, `tasks`, and `meta` subdirectories with a YAML top-level
|
6
|
+
section for each file (`defaults:`, `vars:`, `tasks:` etc.)
|
6
7
|
|
7
8
|
## Usage
|
8
9
|
|
9
|
-
```
|
10
|
+
```
|
10
11
|
ansible-make-role -c|--clean -f|--force -g|--git -r|--roles=DIR -v|--verbose --version DIR...
|
11
12
|
```
|
12
13
|
|
13
14
|
`ansible-make-role` expects a `role.yml` file in each of the given directories
|
14
15
|
and generates an Ansible role in it. Existing `main.yml` files will be
|
15
|
-
overwritten or removed but other files won't be touched
|
16
|
-
|
17
|
-
|
18
|
-
is used
|
16
|
+
overwritten or removed but other files won't be touched. `ansible-make-role`
|
17
|
+
search subdirectories of `./roles` if no dirctories was given on the command
|
18
|
+
line
|
19
19
|
|
20
20
|
## Description
|
21
21
|
|
@@ -59,10 +59,12 @@ handlers: # Goes to handlers/main.yml"
|
|
59
59
|
Clean the project by removing autogenerated files
|
60
60
|
|
61
61
|
`-f, --force`
|
62
|
-
Re-generate all files even if not needed
|
62
|
+
Re-generate all files even if not needed. Useful if you forgot a
|
63
|
+
`--git` option
|
63
64
|
|
64
65
|
`-g, --git`
|
65
|
-
Also handle per-role .gitignore files. Note that
|
66
|
+
Also handle per-role .gitignore files. Note that existing .gitignore
|
67
|
+
files are overwritten
|
66
68
|
|
67
69
|
`-r, --roles=DIR`
|
68
70
|
Use DIR instead of default `./roles`
|
data/exe/ansible-make-role
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ansible_make_role
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claus Rasmussen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
|
-
rubygems_version: 3.0.
|
130
|
+
rubygems_version: 3.0.8
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Make Ansible role from make.yml file
|