foreman_ansible 15.0.3 → 15.0.4

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: 6f963bf465d465b5dd726a0c79b7e9e3e70e3801ff7994ed926e844d129ee2de
4
- data.tar.gz: e70220b7ae7b363a1d5b4c4fd1b1e7e135ac38a7197d433a1c39c9c8568c1ddf
3
+ metadata.gz: cd46a9ca54ca84849a36222c25c731058929507ea35f650a54cc164b32ff9514
4
+ data.tar.gz: fb95c371f6ef1b9a1f4090ff9a34744f1cb3d037d59fdee288d92c1e9e64f869
5
5
  SHA512:
6
- metadata.gz: 8147a39927059bb3cb11c6f83cd6bf4c4130cc77306beda1cdd0d4b26dc90f871d0daa27bbb30fe469ed0da77c9b6c2c6cee5c1950547c9a9c33d17df7f6e240
7
- data.tar.gz: 2b5cfcf174497532bc3b63176ad152980b135987fa8e6883c338e86083cabdd1a39987180a0a8cfecdf939d974b6d32db0e9fff1c2ab8719795af305a03fe71a
6
+ metadata.gz: 95eb9c7e60988b2a401d69cb8b417b052703de34ab74a1dc49143c0d2d213a00c3ec0d37783ac2cc2543f06629b6b3ebe7546a0c27f7a036f4cc2549d081a9b5
7
+ data.tar.gz: 5e371aa4b5c25b3e96232aac2d84a5378ec7e56a8a977f08c076fb4f061626e9b107447a0979fe3c80fe1a9a10036c7a7da1e6081cb431ac60a6bc64b5728ee8
@@ -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.4'
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.4
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-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: acts_as_list
@@ -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.5.23
514
514
  signing_key:
515
515
  specification_version: 4
516
516
  summary: Ansible integration with Foreman (theforeman.org)