foreman_ansible 10.0.1 → 10.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/foreman_ansible/smart_proxies_helper.rb +38 -0
- data/app/views/foreman/smart_proxies/_update_smart_proxy.html.erb +1 -0
- data/app/views/foreman_ansible/job_templates/capsule_upgrade_-_ansible_default.erb +39 -3
- data/db/migrate/20221031114720_rename_capsule_upgrade_playbook.rb +21 -0
- data/lib/foreman_ansible/register.rb +13 -0
- data/lib/foreman_ansible/version.rb +1 -1
- data/test/graphql/queries/host_ansible_roles_query_test.rb +11 -8
- data/test/unit/ansible_provider_test.rb +3 -6
- data/test/unit/concerns/host_managed_extensions_test.rb +6 -6
- data/test/unit/concerns/hostgroup_extensions_test.rb +8 -8
- data/webpack/components/AnsibleHostDetail/components/JobsTab/NewRecurringJobHelper.js +4 -4
- data/webpack/components/AnsibleHostDetail/components/JobsTab/NewRecurringJobModal.js +30 -4
- data/webpack/components/AnsibleHostDetail/components/JobsTab/NewRecurringJobModal.scss +9 -2
- data/webpack/components/AnsibleHostDetail/components/RolesTab/AllRolesModal/index.js +1 -1
- data/webpack/components/AnsibleHostDetail/components/RolesTab/EditRolesModal/index.js +1 -1
- metadata +24 -62
- data/locale/ca/foreman_ansible.edit.po +0 -1162
- data/locale/ca/foreman_ansible.po.time_stamp +0 -0
- data/locale/cs_CZ/foreman_ansible.edit.po +0 -1207
- data/locale/cs_CZ/foreman_ansible.po.time_stamp +0 -0
- data/locale/de/foreman_ansible.edit.po +0 -1148
- data/locale/de/foreman_ansible.po.time_stamp +0 -0
- data/locale/en/foreman_ansible.edit.po +0 -1146
- data/locale/en/foreman_ansible.po.time_stamp +0 -0
- data/locale/en_GB/foreman_ansible.edit.po +0 -1155
- data/locale/en_GB/foreman_ansible.po.time_stamp +0 -0
- data/locale/es/foreman_ansible.edit.po +0 -1148
- data/locale/es/foreman_ansible.po.time_stamp +0 -0
- data/locale/fr/foreman_ansible.edit.po +0 -1148
- data/locale/fr/foreman_ansible.po.time_stamp +0 -0
- data/locale/gl/foreman_ansible.edit.po +0 -1156
- data/locale/gl/foreman_ansible.po.time_stamp +0 -0
- data/locale/it/foreman_ansible.edit.po +0 -1148
- data/locale/it/foreman_ansible.po.time_stamp +0 -0
- data/locale/ja/foreman_ansible.edit.po +0 -1148
- data/locale/ja/foreman_ansible.po.time_stamp +0 -0
- data/locale/ko/foreman_ansible.edit.po +0 -1148
- data/locale/ko/foreman_ansible.po.time_stamp +0 -0
- data/locale/nl_NL/foreman_ansible.edit.po +0 -1168
- data/locale/nl_NL/foreman_ansible.po.time_stamp +0 -0
- data/locale/pl/foreman_ansible.edit.po +0 -1180
- data/locale/pl/foreman_ansible.po.time_stamp +0 -0
- data/locale/pt_BR/foreman_ansible.edit.po +0 -1148
- data/locale/pt_BR/foreman_ansible.po.time_stamp +0 -0
- data/locale/ru/foreman_ansible.edit.po +0 -1149
- data/locale/ru/foreman_ansible.po.time_stamp +0 -0
- data/locale/sv_SE/foreman_ansible.edit.po +0 -1180
- data/locale/sv_SE/foreman_ansible.po.time_stamp +0 -0
- data/locale/zh_CN/foreman_ansible.edit.po +0 -1148
- data/locale/zh_CN/foreman_ansible.po.time_stamp +0 -0
- data/locale/zh_TW/foreman_ansible.edit.po +0 -1148
- data/locale/zh_TW/foreman_ansible.po.time_stamp +0 -0
- data/test/unit/actions/run_ansible_job_test.rb +0 -0
- data/test/unit/actions/run_proxy_ansible_command_test.rb +0 -0
- data/webpack/components/AnsibleHostDetail/components/JobsTab/PreviousJobsTable.js.orig +0 -151
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: 10.0
|
4
|
+
version: 10.1.0
|
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: 2022-
|
11
|
+
date: 2022-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_list
|
@@ -42,30 +42,30 @@ dependencies:
|
|
42
42
|
name: foreman_remote_execution
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 8.0
|
47
|
+
version: '8.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 8.0
|
54
|
+
version: '8.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: foreman-tasks
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 7.0
|
61
|
+
version: '7.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 7.0
|
68
|
+
version: '7.0'
|
69
69
|
description: Ansible integration with Foreman
|
70
70
|
email:
|
71
71
|
- elobatocs@gmail.com
|
@@ -115,6 +115,7 @@ files:
|
|
115
115
|
- app/helpers/foreman_ansible/ansible_roles_data_preparations.rb
|
116
116
|
- app/helpers/foreman_ansible/ansible_roles_helper.rb
|
117
117
|
- app/helpers/foreman_ansible/hosts_helper.rb
|
118
|
+
- app/helpers/foreman_ansible/smart_proxies_helper.rb
|
118
119
|
- app/jobs/sync_playbooks.rb
|
119
120
|
- app/jobs/sync_roles_and_variables.rb
|
120
121
|
- app/lib/actions/foreman_ansible/helpers/play_roles_description.rb
|
@@ -171,6 +172,7 @@ files:
|
|
171
172
|
- app/views/api/v2/ansible_variables/show.json.rabl
|
172
173
|
- app/views/api/v2/hostgroups/ansible_roles.json.rabl
|
173
174
|
- app/views/api/v2/hosts/ansible_roles.json.rabl
|
175
|
+
- app/views/foreman/smart_proxies/_update_smart_proxy.html.erb
|
174
176
|
- app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb
|
175
177
|
- app/views/foreman_ansible/ansible_roles/_select_tab_title.html.erb
|
176
178
|
- app/views/foreman_ansible/api/v2/ansible_roles/import.json.rabl
|
@@ -215,6 +217,7 @@ files:
|
|
215
217
|
- db/migrate/20200421201839_update_ansible_inv_template_name.rb
|
216
218
|
- db/migrate/20210120150019_add_position_to_ansible_role.rb
|
217
219
|
- db/migrate/20210818083407_fix_ansible_setting_category_to_dsl.rb
|
220
|
+
- db/migrate/20221031114720_rename_capsule_upgrade_playbook.rb
|
218
221
|
- db/seeds.d/100_common_parameters.rb
|
219
222
|
- db/seeds.d/62_ansible_proxy_feature.rb
|
220
223
|
- db/seeds.d/75_job_templates.rb
|
@@ -227,79 +230,43 @@ files:
|
|
227
230
|
- locale/Makefile
|
228
231
|
- locale/action_names.rb
|
229
232
|
- locale/ca/LC_MESSAGES/foreman_ansible.mo
|
230
|
-
- locale/ca/foreman_ansible.edit.po
|
231
233
|
- locale/ca/foreman_ansible.po
|
232
|
-
- locale/ca/foreman_ansible.po.time_stamp
|
233
234
|
- locale/cs_CZ/LC_MESSAGES/foreman_ansible.mo
|
234
|
-
- locale/cs_CZ/foreman_ansible.edit.po
|
235
235
|
- locale/cs_CZ/foreman_ansible.po
|
236
|
-
- locale/cs_CZ/foreman_ansible.po.time_stamp
|
237
236
|
- locale/de/LC_MESSAGES/foreman_ansible.mo
|
238
|
-
- locale/de/foreman_ansible.edit.po
|
239
237
|
- locale/de/foreman_ansible.po
|
240
|
-
- locale/de/foreman_ansible.po.time_stamp
|
241
238
|
- locale/en/LC_MESSAGES/foreman_ansible.mo
|
242
|
-
- locale/en/foreman_ansible.edit.po
|
243
239
|
- locale/en/foreman_ansible.po
|
244
|
-
- locale/en/foreman_ansible.po.time_stamp
|
245
240
|
- locale/en_GB/LC_MESSAGES/foreman_ansible.mo
|
246
|
-
- locale/en_GB/foreman_ansible.edit.po
|
247
241
|
- locale/en_GB/foreman_ansible.po
|
248
|
-
- locale/en_GB/foreman_ansible.po.time_stamp
|
249
242
|
- locale/es/LC_MESSAGES/foreman_ansible.mo
|
250
|
-
- locale/es/foreman_ansible.edit.po
|
251
243
|
- locale/es/foreman_ansible.po
|
252
|
-
- locale/es/foreman_ansible.po.time_stamp
|
253
244
|
- locale/foreman_ansible.pot
|
254
245
|
- locale/fr/LC_MESSAGES/foreman_ansible.mo
|
255
|
-
- locale/fr/foreman_ansible.edit.po
|
256
246
|
- locale/fr/foreman_ansible.po
|
257
|
-
- locale/fr/foreman_ansible.po.time_stamp
|
258
247
|
- locale/gemspec.rb
|
259
248
|
- locale/gl/LC_MESSAGES/foreman_ansible.mo
|
260
|
-
- locale/gl/foreman_ansible.edit.po
|
261
249
|
- locale/gl/foreman_ansible.po
|
262
|
-
- locale/gl/foreman_ansible.po.time_stamp
|
263
250
|
- locale/it/LC_MESSAGES/foreman_ansible.mo
|
264
|
-
- locale/it/foreman_ansible.edit.po
|
265
251
|
- locale/it/foreman_ansible.po
|
266
|
-
- locale/it/foreman_ansible.po.time_stamp
|
267
252
|
- locale/ja/LC_MESSAGES/foreman_ansible.mo
|
268
|
-
- locale/ja/foreman_ansible.edit.po
|
269
253
|
- locale/ja/foreman_ansible.po
|
270
|
-
- locale/ja/foreman_ansible.po.time_stamp
|
271
254
|
- locale/ko/LC_MESSAGES/foreman_ansible.mo
|
272
|
-
- locale/ko/foreman_ansible.edit.po
|
273
255
|
- locale/ko/foreman_ansible.po
|
274
|
-
- locale/ko/foreman_ansible.po.time_stamp
|
275
256
|
- locale/nl_NL/LC_MESSAGES/foreman_ansible.mo
|
276
|
-
- locale/nl_NL/foreman_ansible.edit.po
|
277
257
|
- locale/nl_NL/foreman_ansible.po
|
278
|
-
- locale/nl_NL/foreman_ansible.po.time_stamp
|
279
258
|
- locale/pl/LC_MESSAGES/foreman_ansible.mo
|
280
|
-
- locale/pl/foreman_ansible.edit.po
|
281
259
|
- locale/pl/foreman_ansible.po
|
282
|
-
- locale/pl/foreman_ansible.po.time_stamp
|
283
260
|
- locale/pt_BR/LC_MESSAGES/foreman_ansible.mo
|
284
|
-
- locale/pt_BR/foreman_ansible.edit.po
|
285
261
|
- locale/pt_BR/foreman_ansible.po
|
286
|
-
- locale/pt_BR/foreman_ansible.po.time_stamp
|
287
262
|
- locale/ru/LC_MESSAGES/foreman_ansible.mo
|
288
|
-
- locale/ru/foreman_ansible.edit.po
|
289
263
|
- locale/ru/foreman_ansible.po
|
290
|
-
- locale/ru/foreman_ansible.po.time_stamp
|
291
264
|
- locale/sv_SE/LC_MESSAGES/foreman_ansible.mo
|
292
|
-
- locale/sv_SE/foreman_ansible.edit.po
|
293
265
|
- locale/sv_SE/foreman_ansible.po
|
294
|
-
- locale/sv_SE/foreman_ansible.po.time_stamp
|
295
266
|
- locale/zh_CN/LC_MESSAGES/foreman_ansible.mo
|
296
|
-
- locale/zh_CN/foreman_ansible.edit.po
|
297
267
|
- locale/zh_CN/foreman_ansible.po
|
298
|
-
- locale/zh_CN/foreman_ansible.po.time_stamp
|
299
268
|
- locale/zh_TW/LC_MESSAGES/foreman_ansible.mo
|
300
|
-
- locale/zh_TW/foreman_ansible.edit.po
|
301
269
|
- locale/zh_TW/foreman_ansible.po
|
302
|
-
- locale/zh_TW/foreman_ansible.po.time_stamp
|
303
270
|
- package.json
|
304
271
|
- test/factories/ansible_proxy.rb
|
305
272
|
- test/factories/ansible_roles.rb
|
@@ -326,8 +293,6 @@ files:
|
|
326
293
|
- test/graphql/queries/host_ansible_roles_query_test.rb
|
327
294
|
- test/integration/hostgroup_js_test.rb
|
328
295
|
- test/test_plugin_helper.rb
|
329
|
-
- test/unit/actions/run_ansible_job_test.rb
|
330
|
-
- test/unit/actions/run_proxy_ansible_command_test.rb
|
331
296
|
- test/unit/ansible_provider_test.rb
|
332
297
|
- test/unit/ansible_role_test.rb
|
333
298
|
- test/unit/ansible_variable_test.rb
|
@@ -374,7 +339,6 @@ files:
|
|
374
339
|
- webpack/components/AnsibleHostDetail/components/JobsTab/NewRecurringJobModal.js
|
375
340
|
- webpack/components/AnsibleHostDetail/components/JobsTab/NewRecurringJobModal.scss
|
376
341
|
- webpack/components/AnsibleHostDetail/components/JobsTab/PreviousJobsTable.js
|
377
|
-
- webpack/components/AnsibleHostDetail/components/JobsTab/PreviousJobsTable.js.orig
|
378
342
|
- webpack/components/AnsibleHostDetail/components/JobsTab/RecurringJobsTable.js
|
379
343
|
- webpack/components/AnsibleHostDetail/components/JobsTab/__test__/JobsTab.fixtures.js
|
380
344
|
- webpack/components/AnsibleHostDetail/components/JobsTab/__test__/JobsTab.test.js
|
@@ -495,7 +459,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
495
459
|
- !ruby/object:Gem::Version
|
496
460
|
version: '0'
|
497
461
|
requirements: []
|
498
|
-
rubygems_version: 3.1.
|
462
|
+
rubygems_version: 3.1.4
|
499
463
|
signing_key:
|
500
464
|
specification_version: 4
|
501
465
|
summary: Ansible integration with Foreman (theforeman.org)
|
@@ -510,25 +474,31 @@ test_files:
|
|
510
474
|
- test/fixtures/sample_facts.json
|
511
475
|
- test/fixtures/sample_playbooks.json
|
512
476
|
- test/foreman_ansible/helpers/ansible_roles_helper_test.rb
|
477
|
+
- test/functional/ansible_roles_controller_test.rb
|
478
|
+
- test/functional/ansible_variables_controller_test.rb
|
513
479
|
- test/functional/api/v2/ansible_inventories_controller_test.rb
|
514
480
|
- test/functional/api/v2/ansible_playbooks_controller_test.rb
|
515
481
|
- test/functional/api/v2/ansible_roles_controller_test.rb
|
516
482
|
- test/functional/api/v2/ansible_variables_controller_test.rb
|
517
483
|
- test/functional/api/v2/hostgroups_controller_test.rb
|
518
484
|
- test/functional/api/v2/hosts_controller_test.rb
|
519
|
-
- test/functional/ansible_roles_controller_test.rb
|
520
|
-
- test/functional/ansible_variables_controller_test.rb
|
521
485
|
- test/functional/hosts_controller_test.rb
|
522
486
|
- test/functional/ui_ansible_roles_controller_test.rb
|
523
487
|
- test/graphql/mutations/hosts/assign_ansible_roles_mutation_test.rb
|
524
488
|
- test/graphql/queries/ansible_roles_query_test.rb
|
525
489
|
- test/graphql/queries/host_ansible_roles_query_test.rb
|
526
|
-
- test/
|
527
|
-
- test/unit/
|
490
|
+
- test/test_plugin_helper.rb
|
491
|
+
- test/unit/ansible_role_test.rb
|
492
|
+
- test/unit/ansible_variable_test.rb
|
528
493
|
- test/unit/concerns/config_reports_extensions_test.rb
|
529
494
|
- test/unit/concerns/host_managed_extensions_test.rb
|
530
495
|
- test/unit/concerns/hostgroup_extensions_test.rb
|
531
496
|
- test/unit/helpers/ansible_reports_helper_test.rb
|
497
|
+
- test/unit/host_ansible_role_test.rb
|
498
|
+
- test/unit/hostgroup_ansible_role_test.rb
|
499
|
+
- test/unit/ignore_roles_test.rb
|
500
|
+
- test/unit/import_playbooks_test.rb
|
501
|
+
- test/unit/import_roles_and_variables.rb
|
532
502
|
- test/unit/lib/proxy_api/ansible_test.rb
|
533
503
|
- test/unit/services/ansible_report_importer_test.rb
|
534
504
|
- test/unit/services/ansible_variables_importer_test.rb
|
@@ -539,12 +509,4 @@ test_files:
|
|
539
509
|
- test/unit/services/roles_importer_test.rb
|
540
510
|
- test/unit/services/ui_roles_importer_test.rb
|
541
511
|
- test/unit/ansible_provider_test.rb
|
542
|
-
- test/unit/ansible_role_test.rb
|
543
|
-
- test/unit/ansible_variable_test.rb
|
544
|
-
- test/unit/host_ansible_role_test.rb
|
545
|
-
- test/unit/hostgroup_ansible_role_test.rb
|
546
|
-
- test/unit/ignore_roles_test.rb
|
547
|
-
- test/unit/import_playbooks_test.rb
|
548
|
-
- test/unit/import_roles_and_variables.rb
|
549
|
-
- test/test_plugin_helper.rb
|
550
512
|
- test/integration/hostgroup_js_test.rb
|