ansible_make_role 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/ansible-make-role +1 -1
- data/lib/ansible_make_role.rb +1 -1
- data/lib/ansible_make_role/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a22c1c0e2cf8ffbf1acb934620f80e2d9393364d0de685476e9ca3ef5bf9969
|
4
|
+
data.tar.gz: def88d2a7e22f7f434dd0cf317dbfb9270a6a2f2b887c92a2c513d56bc57b90c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b62ac0ca21d319b957048bcbfd829681613500eb2a5efca56b2e1f35c6b350a0dc28823e499288a77394b80ac4fecfd605cf02e25b6ee5a6e11eab3e1ab7e0d4
|
7
|
+
data.tar.gz: 0b2828173981eaa825a5103ff6ff36536ce653e0c4c767fd55dfbf256c3dd5b1977c20b86d0abcae05360d1ab9dcf7f64eb0d2eead533fe8a064266d350df8a1
|
data/exe/ansible-make-role
CHANGED
data/lib/ansible_make_role.rb
CHANGED
@@ -40,7 +40,7 @@ module AnsibleMakeRole
|
|
40
40
|
def self.clean(role_dir)
|
41
41
|
changed = false
|
42
42
|
wrap_system_call_error {
|
43
|
-
File.exists?("#{role_dir}/#{ROLE_FILE_NAME}") or raise Error
|
43
|
+
File.exists?("#{role_dir}/#{ROLE_FILE_NAME}") or raise Error.new("Not a role directory: #{role_dir}")
|
44
44
|
for file in Dir["#{role_dir}/*/main.yml"]
|
45
45
|
FileUtils.rm(file)
|
46
46
|
dir = File.dirname(file)
|