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 +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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd46a9ca54ca84849a36222c25c731058929507ea35f650a54cc164b32ff9514
|
4
|
+
data.tar.gz: fb95c371f6ef1b9a1f4090ff9a34744f1cb3d037d59fdee288d92c1e9e64f869
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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, :
|
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.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:
|
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.
|
513
|
+
rubygems_version: 3.5.23
|
514
514
|
signing_key:
|
515
515
|
specification_version: 4
|
516
516
|
summary: Ansible integration with Foreman (theforeman.org)
|