ansible-ruby 1.0.10 → 1.0.11

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: 5255fec866696e936bf4492ee9ba0de67db15fa0
4
- data.tar.gz: 1bc5c3c01e80a4d79d9091f7c27af6ab245c0a62
3
+ metadata.gz: 6f2821185d36ff6b090dae91376c115680f58307
4
+ data.tar.gz: e6f1197c8df446f39282fb645628a38a090f120e
5
5
  SHA512:
6
- metadata.gz: f741e5602715c1ecb685cb92446ae40cb62dbbcfb2911efe4ce3e6cbbf8d76d73ba74b1e41f97bbfdabf50282b0237a353e53e0b76229b19002b3ba33b333968
7
- data.tar.gz: 7d12f843a43d8fc9c3b9fc15b07b1ddc40c9c45547f817b628c33d32f8f5a967b0390f81faa241b8cf75c431daf46998e1914328e15e7d62afe09a4e73f70e33
6
+ metadata.gz: f4bdc8c31b90cdaaaa484600389a32018431415850e381553ceed1c87fe4bf0a682d628d4515ae7d2f6a1e90f2a88e1190fbc0c917a5ec63af27e9cf3ffd112d
7
+ data.tar.gz: 4ebdd8973d406a3e149f5be36501b643e3aa297c957c81536617a61fe75b1851b0dbef8294b0d719dfbb499fecdf65d2db5e48d40f4a642793c7a52119753be0
@@ -77,6 +77,10 @@ module Ansible
77
77
  @task_args[:delegate_to] = value
78
78
  end
79
79
 
80
+ def remote_user(value)
81
+ @task_args[:remote_user] = value
82
+ end
83
+
80
84
  def respond_to_missing?(*)
81
85
  !@module || super
82
86
  end
@@ -40,6 +40,8 @@ module Ansible
40
40
  attr_accessor :local_action
41
41
  attribute :delegate_to
42
42
  validates :delegate_to, type: String
43
+ attribute :remote_user
44
+ validates :remote_user, type: String
43
45
 
44
46
  def to_h
45
47
  result = super
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ansible
4
4
  module Ruby
5
- VERSION = '1.0.10'
5
+ VERSION = '1.0.11'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ansible-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brady Wied
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-20 00:00:00.000000000 Z
11
+ date: 2019-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel