smart_proxy_ansible 3.7.1 → 3.7.2

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: c60e5a51488caeab62b573ecc20eb7115a8a314b50f769fe90dcc392da21f265
4
- data.tar.gz: e313e2b6edcf6d7ebdef42b65b3dbad36fd33d37fcfb09f813495b4d744ccd5f
3
+ metadata.gz: df05b7b0c7d0aee79bf7a87083f494549d2075b3d5745720d8e0d02e175bdc60
4
+ data.tar.gz: b5acc16691047136ac6701a222d19c4b91cf33abaca200e3f40500e2b2db3410
5
5
  SHA512:
6
- metadata.gz: 24b3522f1463e5216a5a6c8b806bd194d21701e3c689e7b69300642158787ec81a59a5376e7df2f430c5aeae2c5bb24f37b74b56adfc1bc1ed0ed691c918eb63
7
- data.tar.gz: 440ba148eb5c12c262d023e8c5a39739cf0f110ef941bd675fc5a9b032d2dca5980a53f7d57f1f3f9af8eb568ccef5160698809e52bd2ba040ab16d650d12727
6
+ metadata.gz: a42440fc73f71133d6696d35cdde7ef84af0f0a31e6cbdf44df92ee630eb207920b1a805369d291b6f000d37cc9e882a3eff0e0a522e4184c21aa6d6e6117389
7
+ data.tar.gz: d970e8679f8d0131731660c2736701aa9a9497fea7e920609b1c6ffb932b7ab0c2c14f5085417452e3a1e5c51547e6c40e1b70273f1e162be649c498148b624f
@@ -48,6 +48,7 @@ module Proxy::Ansible
48
48
 
49
49
  def timeout
50
50
  logger.debug('job timed out')
51
+ broadcast_data('Timeout for execution passed, stopping the job', 'stderr')
51
52
  super
52
53
  end
53
54
 
@@ -57,9 +58,8 @@ module Proxy::Ansible
57
58
 
58
59
  def kill
59
60
  ::Process.kill('SIGTERM', @process_manager.pid)
61
+ @inventory['all']['hosts'].each_key { |hostname| @exit_statuses[hostname] = 2 }
60
62
  publish_exit_status(2)
61
- @inventory['all']['hosts'].each { |hostname| @exit_statuses[hostname] = 2 }
62
- broadcast_data('Timeout for execution passed, stopping the job', 'stderr')
63
63
  close
64
64
  end
65
65
 
@@ -2,6 +2,6 @@ module Proxy
2
2
  # Version, this allows the proxy and other plugins know
3
3
  # what version of the Ansible plugin is running
4
4
  module Ansible
5
- VERSION = '3.7.1'
5
+ VERSION = '3.7.2'
6
6
  end
7
7
  end
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.7.1
4
+ version: 3.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Nečas
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
- rubygems_version: 4.0.3
115
+ rubygems_version: 4.0.16
116
116
  specification_version: 4
117
117
  summary: Smart-Proxy Ansible plugin
118
118
  test_files: []