smart_proxy_ansible 3.5.0 → 3.5.2

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
  SHA256:
3
- metadata.gz: debe537cdba96e4742fc5e0311bbb073f1b25248bd5dcf394d1368f7027d2db8
4
- data.tar.gz: 6a889c1145db1a4958f0e571d5a792e84850aa33542ba072283e95e0aa56328d
3
+ metadata.gz: 7b5d2745c11496676bc9a45ae0ff6d79bb30fa5e9c999928ceea7c6a41861d0a
4
+ data.tar.gz: 3b5148e6164430a508661254056631ae82e1c7b69680c59fb7efa1e6ff8bc531
5
5
  SHA512:
6
- metadata.gz: 02c6d84ed28a87fc0a0f18c2b5d8360e614d4c698f71a34801917157145ca499359e2cb71121d6d6fb42141dcb52a3161c13ca5ea895c8d920be3998cce141ae
7
- data.tar.gz: ee31bc6ba19ff2a6e3d348b6f11f9c3ac25212eeb77c6dad32556c49af254cec5320603a63c3c1dea28282561e1fc136e896f4a3f8b3b3db96ae001cc4cd50ae
6
+ metadata.gz: 5d60cb3dce9bc1dc1b6785431f99a1020eb61b6e8661591ccbc505f9a13e24958998b5d231dc6e881e541e69af910c793f4b9d19c49f037887bf22632865071f
7
+ data.tar.gz: 12f655b663252af5aeaab23bd5af509a73f6a3c0f9b09cb3c403fd995859e740bea4ceedbef52fedacffc48ea82a2919db146accf9160f0b342dc0bc946bdab0
@@ -1,4 +1,4 @@
1
1
  #!/bin/sh
2
2
 
3
- [ -f "$SMART_PROXY_ANSIBLE_ENVIRONMENT_FILE" ] && source "$SMART_PROXY_ANSIBLE_ENVIRONMENT_FILE"
3
+ [ -f "$SMART_PROXY_ANSIBLE_ENVIRONMENT_FILE" ] && . "$SMART_PROXY_ANSIBLE_ENVIRONMENT_FILE"
4
4
  exec "$@"
@@ -25,9 +25,13 @@ module Proxy
25
25
  line =~ /^\s*#{config_key}/
26
26
  end
27
27
  rescue Errno::ENOENT, Errno::EACCES => e
28
- RolesReader.logger.debug(e.backtrace)
29
- message = "Could not read Ansible config file #{DEFAULT_CONFIG_FILE} - #{e.message}"
30
- raise ReadConfigFileException.new(message), message
28
+ message = "Could not read Ansible config file #{DEFAULT_CONFIG_FILE}, using defaults - #{e.message}"
29
+ if e.is_a?(Errno::ENOENT)
30
+ RolesReader.logger.info(message)
31
+ else
32
+ RolesReader.logger.warn(message)
33
+ end
34
+ []
31
35
  end
32
36
 
33
37
  def playbook_or_role_full_name(path)
@@ -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.5.0'
5
+ VERSION = '3.5.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.5.0
4
+ version: 3.5.2
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: 2022-11-10 00:00:00.000000000 Z
12
+ date: 2023-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  requirements: []
189
- rubygems_version: 3.3.20
189
+ rubygems_version: 3.1.4
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: Smart-Proxy Ansible plugin