foreman_ansible_core 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f416c282ff17d92a2c756375ecd3332b6781a8c9
|
4
|
+
data.tar.gz: 07cb920eb62b34aa9d96683e81d0b7918262d77e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 014b581ee8de8afcb3842f501ab72a950374cd536dc83f419c1d4c119d9a11156d84021136354b150e0df8e7b2b44cdbb6d3bf8024819c67a08ef0810688ab55
|
7
|
+
data.tar.gz: 88f4a747f66b93186c7a73ee91fdd8923b93fb246efd1e304d4a0e8bafa0636eabc1150ab61a4068a3437f30559aaca7e1a114e6af973fbd201edb9cb87c84b2
|
@@ -26,7 +26,7 @@ module ForemanAnsibleCore
|
|
26
26
|
command = [{ 'JSON_INVENTORY_FILE' => inventory_file }]
|
27
27
|
command << 'ansible-playbook'
|
28
28
|
command.concat(['-i', json_inventory_script])
|
29
|
-
if
|
29
|
+
if verbose?
|
30
30
|
command.concat([setup_verbosity])
|
31
31
|
end
|
32
32
|
command.concat(['-T', @options[:timeout]]) unless @options[:timeout].nil?
|
@@ -117,5 +117,12 @@ module ForemanAnsibleCore
|
|
117
117
|
end
|
118
118
|
verbosity
|
119
119
|
end
|
120
|
+
|
121
|
+
def verbose?
|
122
|
+
verbosity_level = @options[:verbosity_level]
|
123
|
+
!verbosity_level.nil? && !verbosity_level.empty? &&
|
124
|
+
verbosity_level.to_i > 0
|
125
|
+
end
|
126
|
+
|
120
127
|
end
|
121
128
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_ansible_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Lobato Garcia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.1
|
33
|
+
version: '0.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.1
|
40
|
+
version: '0.1'
|
41
41
|
description: |
|
42
42
|
Ansible integration with Foreman - core parts for dealing with Ansible concepts,
|
43
43
|
usable by foreman_ansible or smart_proxy_ansible to delegate the execution.
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.4.
|
78
|
+
rubygems_version: 2.4.8
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: 'Ansible integration with Foreman (theforeman.org): core bits'
|