foreman_ansible 14.2.0 → 14.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/job_templates/_job_template_callback_tab_headers.html.erb +2 -2
- data/lib/foreman_ansible/version.rb +1 -1
- data/webpack/components/AnsibleHostDetail/components/AnsibleVariableOverrides/AnsibleVariableOverridesTableHelper.js +3 -2
- data/webpack/components/AnsibleHostDetail/components/AnsibleVariableOverrides/__test__/AnsibleVariableOverrides.fixtures.js +1 -0
- data/webpack/graphql/mutations/deleteAnsibleVariableOverride.gql +1 -0
- 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: 7648a9ed44e0b236cd5bd9b81d128875f952c18f9d76756f6669b9857f86a601
|
4
|
+
data.tar.gz: 86f932aa65672a3a16f43abbafe6bc0e61209776cd12caea509c06347145ff0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96c7621f39c1fc2d6f9f1a45e37af9b5e8d2329eb29fceef9830e05cd097893d08e649feeb154cdcb45431ddf0d6066ea30ca1c4b72cd1abc717a6ab71ce8fe6
|
7
|
+
data.tar.gz: ff6a16b61bf8444df326130b3691eb0c8d03bad58a4ed029a0555276edaca4ae3a42b4c2d40b904ef5afea2e5547fac74a9193f9ff482a9d96ff5a3b579305e2
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<script type="text/javascript">
|
3
3
|
$(document).ready(function () {
|
4
4
|
var provider_type = $('#job_template_provider_type');
|
5
|
-
provider_type.change
|
6
|
-
provider_type.change
|
5
|
+
provider_type.trigger("change", setAnsibleTabVisibilityByProvider);
|
6
|
+
provider_type.trigger("change");
|
7
7
|
|
8
8
|
function setAnsibleTabVisibilityByProvider() {
|
9
9
|
var tab_header = $("#ansible_tab_header");
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
+
import { isEqual } from 'lodash';
|
2
3
|
import { TimesIcon, CheckIcon } from '@patternfly/react-icons';
|
3
4
|
import { sprintf, translate as __ } from 'foremanReact/common/I18n';
|
4
5
|
|
@@ -48,7 +49,7 @@ export const onCompleted = onSubmitSuccess => response => {
|
|
48
49
|
message: formatError(joinErrors(errors)),
|
49
50
|
});
|
50
51
|
} else {
|
51
|
-
onSubmitSuccess(overridenAnsibleVariable.
|
52
|
+
onSubmitSuccess(overridenAnsibleVariable.defaultValue);
|
52
53
|
showToast({
|
53
54
|
type: 'success',
|
54
55
|
message: __('Ansible variable override was successfully deleted.'),
|
@@ -59,7 +60,7 @@ export const onCompleted = onSubmitSuccess => response => {
|
|
59
60
|
export const findOverride = (variable, hostname) =>
|
60
61
|
variable.lookupValues.nodes.find(
|
61
62
|
item =>
|
62
|
-
item.value
|
63
|
+
isEqual(item.value, variable.currentValue.value) &&
|
63
64
|
item.match === `fqdn=${hostname}`
|
64
65
|
);
|
65
66
|
|
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: 14.2.
|
4
|
+
version: 14.2.1
|
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-08-
|
11
|
+
date: 2024-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_list
|
@@ -496,7 +496,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
496
496
|
- !ruby/object:Gem::Version
|
497
497
|
version: '0'
|
498
498
|
requirements: []
|
499
|
-
rubygems_version: 3.2.
|
499
|
+
rubygems_version: 3.2.3
|
500
500
|
signing_key:
|
501
501
|
specification_version: 4
|
502
502
|
summary: Ansible integration with Foreman (theforeman.org)
|