smart_proxy_ansible 3.5.2 → 3.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dbbc81bb91b3c508c66bf0b2a609d1875638a4fa3263c3a029294c731f19dfca
|
|
4
|
+
data.tar.gz: f106c29bca9feb9971a6d3ea9ab880ddd3fe15f39abb19d7a1bb8ab98c8ca232
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6453b0c14b8b70b036fe7948c3de5c1d9151b6db0b2806e566a82d8a87c6aaeb05106a2eed2e4dc5a3184687c6c27f1abc0ca64b83d26e1141eda37ad055476
|
|
7
|
+
data.tar.gz: aa09094674c71ae7c2f7b542f2e1173e1f3c682d35edc18e8a408ca40f5f31de3057572a4c20a1d9253efcdb10efe0fca1d6e6cc29291470a1557deed702634d
|
|
@@ -68,7 +68,7 @@ module Proxy::Ansible
|
|
|
68
68
|
def publish_exit_status(status)
|
|
69
69
|
process_artifacts
|
|
70
70
|
super
|
|
71
|
-
@targets.each_key { |host| publish_exit_status_for(host,
|
|
71
|
+
@targets.each_key { |host| publish_exit_status_for(host, @exit_statuses[host]) } if status != 0
|
|
72
72
|
end
|
|
73
73
|
|
|
74
74
|
def initialize_command(*command)
|
|
@@ -156,6 +156,13 @@ module Proxy::Ansible
|
|
|
156
156
|
else
|
|
157
157
|
broadcast_data(event['stdout'] + "\n", 'stdout')
|
|
158
158
|
end
|
|
159
|
+
|
|
160
|
+
# If the run ends early due to an error - fail all other tasks
|
|
161
|
+
if event['event'] == 'error'
|
|
162
|
+
@outputs.keys.select { |key| key.is_a? String }.each do |host|
|
|
163
|
+
@exit_statuses[host] = 4 if @exit_statuses[host].to_i == 0
|
|
164
|
+
end
|
|
165
|
+
end
|
|
159
166
|
end
|
|
160
167
|
|
|
161
168
|
def write_inventory
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smart_proxy_ansible
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.5.
|
|
4
|
+
version: 3.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Nečas
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2023-
|
|
12
|
+
date: 2023-03-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|