foreman_ansible 15.0.3 → 15.0.5

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: 6f963bf465d465b5dd726a0c79b7e9e3e70e3801ff7994ed926e844d129ee2de
4
- data.tar.gz: e70220b7ae7b363a1d5b4c4fd1b1e7e135ac38a7197d433a1c39c9c8568c1ddf
3
+ metadata.gz: b5b81c6fcb6207b503f09e5e0d27af8691a17e1969d4a0479210a2610ee7d420
4
+ data.tar.gz: 1d82cb680164d07a667bbb9a8e8ae71b2aebca64aafbba124e1125ce109ffd18
5
5
  SHA512:
6
- metadata.gz: 8147a39927059bb3cb11c6f83cd6bf4c4130cc77306beda1cdd0d4b26dc90f871d0daa27bbb30fe469ed0da77c9b6c2c6cee5c1950547c9a9c33d17df7f6e240
7
- data.tar.gz: 2b5cfcf174497532bc3b63176ad152980b135987fa8e6883c338e86083cabdd1a39987180a0a8cfecdf939d974b6d32db0e9fff1c2ab8719795af305a03fe71a
6
+ metadata.gz: 48607f815901fc2f3a90454209f7bb9b7119c43d4d19cc0804e541d36822a2a1fa5d8b9e392183c1d33bcab6317d4fff128b81b7c0eb11da03cce00e72116373
7
+ data.tar.gz: 58c733133263f9544af25c9e45b79faa633232f0708a88cf6f029eb6ecd94068fc3477bfa1092424395f4aecf31566f14adb3c113443b4724dc96e0c74ae6a4c
@@ -2,7 +2,7 @@ object @ansible_variable
2
2
 
3
3
  attribute :parameter
4
4
  attributes :id, :variable, :ansible_role, :ansible_role_id, :description, :override,
5
- :variable_type, :hidden_value?, :validator_type,
5
+ :variable_type, :validator_type,
6
6
  :validator_rule, :merge_overrides, :merge_default,
7
7
  :avoid_duplicates, :override_value_order, :created_at, :updated_at,
8
8
  :default_value, :imported
@@ -19,3 +19,5 @@ end
19
19
  node :override_values_count do |lk|
20
20
  lk.lookup_values.count
21
21
  end
22
+
23
+ node :hidden_value, &:hidden_value?
@@ -20,11 +20,25 @@ template_inputs:
20
20
  advanced: false
21
21
  value_type: plain
22
22
  hidden_value: false
23
+ - name: ELS
24
+ required: false
25
+ input_type: user
26
+ description: Use an Extended Lifecycle Support (ELS) add-on subscription
27
+ advanced: false
28
+ value_type: plain
29
+ options: "yes\r\nno"
30
+ default: "no"
31
+ hidden_value: false
23
32
  model: JobTemplate
24
33
  job_category: Convert 2 RHEL
25
34
  provider_type: Ansible
26
35
  kind: job_template
27
36
  %>
37
+ <%-
38
+ ack = " --activationkey \"#{input_resource('Activation Key').name}\""
39
+ org = " --org \"#{@host.organization.label}\""
40
+ els = input('ELS') == "yes" ? " --els" : ""
41
+ -%>
28
42
  ---
29
43
  - hosts: all
30
44
  environment:
@@ -53,7 +67,7 @@ kind: job_template
53
67
  - "convert2rhel_version is version('2.0.0', '<')"
54
68
 
55
69
  - name: Start convert2rhel
56
- command: convert2rhel -y --activationkey "<%= input_resource('Activation Key').name %>" --org "<%= @host.organization.label %>"
70
+ command: convert2rhel -y <%= ack + org + els %>
57
71
 
58
72
  <%- if input('Restart') == "yes" -%>
59
73
  - name: Reboot the machine
@@ -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 = '15.0.3'
7
+ VERSION = '15.0.5'
8
8
  end
@@ -17,13 +17,11 @@ const AvailableRolesList = ({
17
17
  <ListView>
18
18
  <div className="sticky-pagination">
19
19
  <Pagination
20
- viewType="list"
21
20
  itemCount={itemCount}
22
21
  updateParamsByUrl={false}
23
22
  page={pagination.page}
24
23
  perPage={pagination.perPage}
25
24
  onChange={onListingChange}
26
- dropdownButtonId="available-ansible-roles-pagination-row-dropdown"
27
25
  />
28
26
  </div>
29
27
  <LoadingState loading={loading}>
@@ -9,7 +9,6 @@ exports[`AvailableRolesList should render 1`] = `
9
9
  >
10
10
  <Pagination
11
11
  className={null}
12
- dropdownButtonId="available-ansible-roles-pagination-row-dropdown"
13
12
  itemCount={2}
14
13
  noSidePadding={false}
15
14
  onChange={[Function]}
@@ -19,7 +18,6 @@ exports[`AvailableRolesList should render 1`] = `
19
18
  perPage={25}
20
19
  updateParamsByUrl={false}
21
20
  variant="bottom"
22
- viewType="list"
23
21
  />
24
22
  </div>
25
23
  <LoadingState
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: 15.0.3
4
+ version: 15.0.5
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: 2024-12-03 00:00:00.000000000 Z
11
+ date: 2025-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: acts_as_list
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '14.0'
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
- version: '15'
50
+ version: '16'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '14.0'
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
- version: '15'
60
+ version: '16'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: foreman-tasks
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -510,7 +510,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
510
510
  - !ruby/object:Gem::Version
511
511
  version: '0'
512
512
  requirements: []
513
- rubygems_version: 3.5.22
513
+ rubygems_version: 3.3.27
514
514
  signing_key:
515
515
  specification_version: 4
516
516
  summary: Ansible integration with Foreman (theforeman.org)