kitchen-ansiblepush 0.3.9 → 0.3.10

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
  SHA1:
3
- metadata.gz: 8056cdf92a7a39edb33fe455a7ec05fc8b41fad5
4
- data.tar.gz: a11e8d4c8fae927639f30dc7a53cd5db96b9e02b
3
+ metadata.gz: d8d6bf7d30f4bc065d5dc99be4ae4ff03717b026
4
+ data.tar.gz: 31ac4d1244b15acc8a2ef251b9352a78c3c1486b
5
5
  SHA512:
6
- metadata.gz: e0cff89d94c0a4d27ff77f37ac0f7c9c822cc8f9a08b8f65b01c892efdfdd586d8a5c2d6c1363d9d2b726cca56e8e770a794ecae0dbcee6557d2ab9259e81fb7
7
- data.tar.gz: 63390d61cdb8d5a38dad2cd669e46c33a6c4c637e1f90d7bfaa25143b0626f60297a61de71c73742aefd9485a397960a8b76f738c32ccd04eb0ef7d8b1a32da1
6
+ metadata.gz: b51d5d2531d9ff69d1c346bdcc57b09d5386463cf46efe9ff70fee0bf82e703d1174b56aaf0104e695bd38ac69c08a8704b33b38f8e37144156f8a29c9e8dfec
7
+ data.tar.gz: 5ac8d7bf9f1b557aa91a519f648b2276f841a5fac767afb195708bd9d116ac5d576edbb8536e78def391542b9122870dacc326ce9f7a53ffdd3fc8bb267bc149
data/README.md CHANGED
@@ -57,7 +57,10 @@ If you want to check your code is idempotent you can use the idempotency_test. E
57
57
  idempotency_test: True
58
58
  ```
59
59
 
60
+ If your running ansible V2 you need to white list the callback ``` callback_whitelist = changes``` in **ansible.cfg**
61
+
60
62
  ## TODO
63
+ - Enable envirionment var ANSIBLE_CALLBACK_WHITELIST="changes" before call
61
64
  - Tests (PRs for tests is highligh appreciated)
62
65
 
63
66
 
data/callback/changes.py CHANGED
@@ -4,6 +4,7 @@ import errno
4
4
 
5
5
  try:
6
6
  from ansible.plugins.callback import CallbackBase
7
+ print "Using changes callback for V2"
7
8
  except ImportError:
8
9
  print "Fallback to Ansible 1.x compatibility"
9
10
  CallbackBase = object
@@ -1,5 +1,5 @@
1
1
  module Kitchen
2
2
  module AnsiblePush
3
- VERSION = "0.3.9"
3
+ VERSION = "0.3.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-ansiblepush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adham Helal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-17 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen