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 +4 -4
- data/app/views/api/v2/ansible_variables/show.json.rabl +3 -1
- data/app/views/foreman_ansible/job_templates/convert_to_rhel.erb +15 -1
- data/lib/foreman_ansible/version.rb +1 -1
- data/webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.js +0 -2
- data/webpack/components/AnsibleRolesSwitcher/components/__snapshots__/AvailableRolesList.test.js.snap +0 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5b81c6fcb6207b503f09e5e0d27af8691a17e1969d4a0479210a2610ee7d420
|
4
|
+
data.tar.gz: 1d82cb680164d07a667bbb9a8e8ae71b2aebca64aafbba124e1125ce109ffd18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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, :
|
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
|
70
|
+
command: convert2rhel -y <%= ack + org + els %>
|
57
71
|
|
58
72
|
<%- if input('Restart') == "yes" -%>
|
59
73
|
- name: Reboot the machine
|
@@ -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.
|
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:
|
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: '
|
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: '
|
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.
|
513
|
+
rubygems_version: 3.3.27
|
514
514
|
signing_key:
|
515
515
|
specification_version: 4
|
516
516
|
summary: Ansible integration with Foreman (theforeman.org)
|