foreman_ansible 2.2.10 → 2.2.11
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/controllers/ansible_roles_controller.rb +3 -3
- data/lib/foreman_ansible/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e962020601cde9da0d1647db90e1dac8f1696d0a
|
|
4
|
+
data.tar.gz: 9432efa0cec277b8bafc376743caf8d3688cca3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4faf937812103e2893b2eae8a71ca9656fc38636cd2fd87d86caf22507e6fc6f402c9561d961964e92224f7247cacc600502536a37e83740a1cb3d307ac89e2f
|
|
7
|
+
data.tar.gz: 40cffa831c3991afb409485e2d0d8da8ec0fd0b06f7ae3111e2d5f1b6d00de37af4bc0056bd06539d1349b4d5b5cb186a7d7d36093793b4233eaee599789201e
|
|
@@ -25,7 +25,7 @@ class AnsibleRolesController < ::ApplicationController
|
|
|
25
25
|
def import
|
|
26
26
|
changed = @importer.import!
|
|
27
27
|
if changed.values.all?(&:empty?)
|
|
28
|
-
|
|
28
|
+
success no_changed_roles_message
|
|
29
29
|
redirect_to ansible_roles_path
|
|
30
30
|
else
|
|
31
31
|
render :locals => { :changed => changed }
|
|
@@ -33,8 +33,8 @@ class AnsibleRolesController < ::ApplicationController
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
def confirm_import
|
|
36
|
-
@importer.finish_import(params[:changed])
|
|
37
|
-
|
|
36
|
+
@importer.finish_import(params[:changed].to_unsafe_h)
|
|
37
|
+
success _('Import of roles successfully finished.')
|
|
38
38
|
redirect_to ansible_roles_path
|
|
39
39
|
end
|
|
40
40
|
|