foreman_ansible 6.3.3 → 6.3.4
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 70ef5c59ee6bba3f3b62db1288f39776cf0661b2e12c7145212345e7e291b8cf
|
|
4
|
+
data.tar.gz: bb25459005a758c693a97cfcd6ef202ddffb8831374417be1588073f7ef97ff5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c2a37f0db636e45970d8c3c34584d44912e5d0569af15915112a7ab9438717651e3fbe3291e7fcc82a052ea985833beb393e30347dcf8b2e83341ed5d1cd2377
|
|
7
|
+
data.tar.gz: 2fae33324c5c41462ad4375f68344e34872b45085a64c91f08f5a2465cd77e08c22b1087fb17a5f06299bb887ada63c40f0953de8e012e960ae2bf74b0e1c66f
|
|
@@ -30,14 +30,11 @@ class AnsibleProviderTest < ActiveSupport::TestCase
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
context 'when using secrets' do
|
|
33
|
-
let(:host) { FactoryBot.
|
|
33
|
+
let(:host) { FactoryBot.create(:host) }
|
|
34
34
|
|
|
35
35
|
it 'generates secrets properly' do
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
'remote_execution_effective_user_password' => 'letmein'
|
|
39
|
-
}
|
|
40
|
-
host.expects(:params).twice.returns(params)
|
|
36
|
+
host.parameters << HostParameter.new(name: 'remote_execution_ssh_password', value: 'password')
|
|
37
|
+
host.parameters << HostParameter.new(name: 'remote_execution_effective_user_password', value: 'letmein')
|
|
41
38
|
secrets = ForemanAnsible::AnsibleProvider.secrets(host)
|
|
42
39
|
host_secrets = secrets['per-host'][host.name]
|
|
43
40
|
assert_equal host_secrets['ansible_password'], 'password'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_ansible
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.3.
|
|
4
|
+
version: 6.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Lobato Garcia
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-08-
|
|
11
|
+
date: 2021-08-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: foreman_ansible_core
|
|
@@ -374,7 +374,7 @@ homepage: https://github.com/theforeman/foreman_ansible
|
|
|
374
374
|
licenses:
|
|
375
375
|
- GPL-3.0
|
|
376
376
|
metadata: {}
|
|
377
|
-
post_install_message:
|
|
377
|
+
post_install_message:
|
|
378
378
|
rdoc_options: []
|
|
379
379
|
require_paths:
|
|
380
380
|
- lib
|
|
@@ -390,7 +390,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
390
390
|
version: '0'
|
|
391
391
|
requirements: []
|
|
392
392
|
rubygems_version: 3.1.2
|
|
393
|
-
signing_key:
|
|
393
|
+
signing_key:
|
|
394
394
|
specification_version: 4
|
|
395
395
|
summary: Ansible integration with Foreman (theforeman.org)
|
|
396
396
|
test_files:
|
|
@@ -399,14 +399,14 @@ test_files:
|
|
|
399
399
|
- test/factories/ansible_roles.rb
|
|
400
400
|
- test/factories/host_ansible_enhancements.rb
|
|
401
401
|
- test/fixtures/insights_playbook.yaml
|
|
402
|
-
- test/fixtures/sample_facts.json
|
|
403
402
|
- test/fixtures/report.json
|
|
403
|
+
- test/fixtures/sample_facts.json
|
|
404
404
|
- test/functional/ansible_roles_controller_test.rb
|
|
405
|
+
- test/functional/api/v2/ansible_inventories_controller_test.rb
|
|
405
406
|
- test/functional/api/v2/ansible_variables_controller_test.rb
|
|
406
|
-
- test/functional/api/v2/ansible_roles_controller_test.rb
|
|
407
407
|
- test/functional/api/v2/hostgroups_controller_test.rb
|
|
408
408
|
- test/functional/api/v2/hosts_controller_test.rb
|
|
409
|
-
- test/functional/api/v2/
|
|
409
|
+
- test/functional/api/v2/ansible_roles_controller_test.rb
|
|
410
410
|
- test/functional/ui_ansible_roles_controller_test.rb
|
|
411
411
|
- test/functional/ansible_variables_controller_test.rb
|
|
412
412
|
- test/functional/hosts_controller_test.rb
|
|
@@ -419,24 +419,24 @@ test_files:
|
|
|
419
419
|
- test/unit/concerns/host_managed_extensions_test.rb
|
|
420
420
|
- test/unit/concerns/hostgroup_extensions_test.rb
|
|
421
421
|
- test/unit/helpers/ansible_reports_helper_test.rb
|
|
422
|
-
- test/unit/lib/proxy_api/ansible_test.rb
|
|
423
|
-
- test/unit/lib/foreman_ansible_core/ansible_runner_test.rb
|
|
424
422
|
- test/unit/lib/foreman_ansible_core/command_creator_test.rb
|
|
423
|
+
- test/unit/lib/foreman_ansible_core/ansible_runner_test.rb
|
|
425
424
|
- test/unit/lib/foreman_ansible_core/playbook_runner_test.rb
|
|
425
|
+
- test/unit/lib/proxy_api/ansible_test.rb
|
|
426
426
|
- test/unit/services/ansible_report_importer_test.rb
|
|
427
|
-
- test/unit/services/insights_plan_runner_test.rb
|
|
428
|
-
- test/unit/services/roles_importer_test.rb
|
|
429
427
|
- test/unit/services/fact_importer_test.rb
|
|
430
|
-
- test/unit/services/fact_parser_test.rb
|
|
431
428
|
- test/unit/services/fact_sparser_test.rb
|
|
429
|
+
- test/unit/services/insights_plan_runner_test.rb
|
|
430
|
+
- test/unit/services/roles_importer_test.rb
|
|
432
431
|
- test/unit/services/structured_fact_importer_test.rb
|
|
433
432
|
- test/unit/services/ansible_variables_importer_test.rb
|
|
433
|
+
- test/unit/services/ui_roles_importer_test.rb
|
|
434
434
|
- test/unit/services/api_roles_importer_test.rb
|
|
435
|
+
- test/unit/services/fact_parser_test.rb
|
|
435
436
|
- test/unit/services/inventory_creator_test.rb
|
|
436
|
-
- test/unit/services/ui_roles_importer_test.rb
|
|
437
|
-
- test/unit/ansible_provider_test.rb
|
|
438
437
|
- test/unit/host_ansible_role_test.rb
|
|
439
|
-
- test/unit/ignore_roles_test.rb
|
|
440
438
|
- test/unit/import_roles_and_variables.rb
|
|
439
|
+
- test/unit/ignore_roles_test.rb
|
|
441
440
|
- test/unit/hostgroup_ansible_role_test.rb
|
|
441
|
+
- test/unit/ansible_provider_test.rb
|
|
442
442
|
- test/foreman_ansible/helpers/ansible_roles_helper_test.rb
|