hammer_cli_foreman_ansible 0.3.2 → 0.3.3
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a63fcefc58731191aed327d9be1c107b16345f2428f825e339f41ee7cb8a4a5d
|
4
|
+
data.tar.gz: 6c9ce07e90583511bbe55a51273393b2b0e82a46ec7595ddf00bc106b52f3dd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d37d4b6c5490fb66e0d62802f360286d9f0940ac0d26cb099fb065783305365fee3ec7e328d0e973b7366d04d746e0a6f488255ad4d7f1e3f9a1c5afdb2e9cb
|
7
|
+
data.tar.gz: 32c611d308d8d459d6940f5688f41581cccb59823044793366fe07361d04bcb459d24958f85a3fe2da63985b32246e8673c252fc295820a8156ead4031814aad
|
@@ -11,6 +11,8 @@ module HammerCLIForemanAnsible
|
|
11
11
|
require 'hammer_cli_foreman_ansible/host'
|
12
12
|
require 'hammer_cli_foreman_ansible/hostgroup'
|
13
13
|
|
14
|
+
require 'hammer_cli_foreman_ansible/command_extensions'
|
15
|
+
|
14
16
|
HammerCLI::MainCommand.lazy_subcommand(
|
15
17
|
'ansible',
|
16
18
|
'Manage foreman ansible',
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'hammer_cli_foreman_ansible/command_extensions/resolver'
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module HammerCLIForemanAnsible
|
2
|
+
module ResolverExtension
|
3
|
+
def create_ansible_roles_search_options(options, mode = nil)
|
4
|
+
if defined? HammerCLIKatello::IdResolver
|
5
|
+
create_search_options_without_katello_api(options, api.resource(:ansible_roles), mode)
|
6
|
+
else
|
7
|
+
create_search_options(options, api.resource(:ansible_roles), mode)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
::HammerCLIForeman::IdResolver.instance_eval do
|
13
|
+
include ResolverExtension
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_foreman_ansible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oleh Fedorenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hammer_cli_foreman
|
@@ -80,6 +80,8 @@ files:
|
|
80
80
|
- lib/hammer_cli_foreman_ansible/ansible.rb
|
81
81
|
- lib/hammer_cli_foreman_ansible/ansible_roles.rb
|
82
82
|
- lib/hammer_cli_foreman_ansible/ansible_variables.rb
|
83
|
+
- lib/hammer_cli_foreman_ansible/command_extensions.rb
|
84
|
+
- lib/hammer_cli_foreman_ansible/command_extensions/resolver.rb
|
83
85
|
- lib/hammer_cli_foreman_ansible/host.rb
|
84
86
|
- lib/hammer_cli_foreman_ansible/hostgroup.rb
|
85
87
|
- lib/hammer_cli_foreman_ansible/i18n.rb
|
@@ -104,8 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
106
|
- !ruby/object:Gem::Version
|
105
107
|
version: '0'
|
106
108
|
requirements: []
|
107
|
-
|
108
|
-
rubygems_version: 2.6.14
|
109
|
+
rubygems_version: 3.1.2
|
109
110
|
signing_key:
|
110
111
|
specification_version: 4
|
111
112
|
summary: Foreman Ansible plugin for Hammer CLI
|