foreman_ansible 5.1.1 → 5.1.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: e0aa6750e2a4a664a8751b884adee730fbb792221e02596a334e3d6aa3955f84
4
- data.tar.gz: f7e9287de112b986314c36603ffccc2e4a776bdfd151e2e2d09ce2232c04e5b4
3
+ metadata.gz: 8744b23301ac870332d48495360cc3a927b04e4ff5e6b6afff18d53fc62c4a8a
4
+ data.tar.gz: 699440047b4d1855fa0ff0a02e8e2224865090abb23f0e2c3bcf18bec2c90c36
5
5
  SHA512:
6
- metadata.gz: 9559f94d0fc7ab3be558c999ea36305817809c15069104363c934d3e2bbd46e9ca99d8065dd61210de4545e980f8beab5c71bdabcb36fc3e43edf83181f4e654
7
- data.tar.gz: 7b426a84ece0047b636498828ff2af087200022a88c295c1e52ee4fd799849fa3a2eaeeee7ac9e79b2d45714b0b0b20f33fcdb18b1f759f22f85d8424b6e3ca4
6
+ metadata.gz: a4c23524c3b3db583c1651c7e5f801893b3ea837924a61768310c3662fe128dda33f5cca7bc449c83a9a981ffdf18a9ece59a79279e50e9fabcd8f2b34efb78a
7
+ data.tar.gz: 027e5fb0a021095f67f7d1acd428f115fdf0bdf0490f4163f17e28a2dd54b8e3ee5c8d950e67af867b8172c805716cc3fbe1752181432da51b2af94e9a30e858
@@ -41,8 +41,11 @@ feature: ansible_run_capsule_upgrade
41
41
  when: "'rubygem-foreman_maintain' not in ansible_facts.packages"
42
42
 
43
43
  - block:
44
+ <%- whitelist_option = if input('whitelist_options').present?
45
+ "--whitelist=#{input('whitelist_options')}"
46
+ end -%>
44
47
  - name: Upgrade Capsule server using satellite-maintain
45
- shell: satellite-maintain upgrade run --assumeyes --target-version=<%= input('target_version') %> --whitelist="<%= input('whitelist_options') %>"
48
+ shell: satellite-maintain upgrade run --assumeyes --target-version=<%= input('target_version') %> <%= whitelist_option %>
46
49
  register: result
47
50
 
48
51
  - name: Re-Gather the rpm package facts after the upgrade
@@ -4,5 +4,5 @@
4
4
  # This way other parts of Foreman can just call ForemanAnsible::VERSION
5
5
  # and detect what version the plugin is running.
6
6
  module ForemanAnsible
7
- VERSION = '5.1.1'
7
+ VERSION = '5.1.2'
8
8
  end
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: 5.1.1
4
+ version: 5.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Lobato Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-05 00:00:00.000000000 Z
11
+ date: 2020-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -370,8 +370,8 @@ test_files:
370
370
  - test/factories/ansible_roles.rb
371
371
  - test/factories/ansible_variables.rb
372
372
  - test/fixtures/insights_playbook.yaml
373
- - test/fixtures/report.json
374
373
  - test/fixtures/sample_facts.json
374
+ - test/fixtures/report.json
375
375
  - test/functional/api/v2/ansible_roles_controller_test.rb
376
376
  - test/functional/api/v2/hostgroups_controller_test.rb
377
377
  - test/functional/api/v2/hosts_controller_test.rb
@@ -400,11 +400,11 @@ test_files:
400
400
  - test/unit/services/ansible_report_importer_test.rb
401
401
  - test/unit/services/fact_importer_test.rb
402
402
  - test/unit/services/fact_parser_test.rb
403
- - test/unit/services/inventory_creator_test.rb
404
403
  - test/unit/services/ansible_variables_importer_test.rb
404
+ - test/unit/services/inventory_creator_test.rb
405
405
  - test/unit/ansible_role_test.rb
406
406
  - test/unit/host_ansible_role_test.rb
407
407
  - test/unit/hostgroup_ansible_role_test.rb
408
- - test/unit/ansible_provider_test.rb
409
408
  - test/unit/ansible_variable_test.rb
409
+ - test/unit/ansible_provider_test.rb
410
410
  - test/test_plugin_helper.rb