foreman_ansible 11.2.1 → 12.0.1

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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_ansible/locale/ca/foreman_ansible.js +1 -0
  3. data/app/assets/javascripts/foreman_ansible/locale/cs_CZ/foreman_ansible.js +1 -0
  4. data/app/assets/javascripts/foreman_ansible/locale/de/foreman_ansible.js +1 -0
  5. data/app/assets/javascripts/foreman_ansible/locale/en/foreman_ansible.js +1 -0
  6. data/app/assets/javascripts/foreman_ansible/locale/en_GB/foreman_ansible.js +1 -0
  7. data/app/assets/javascripts/foreman_ansible/locale/es/foreman_ansible.js +1 -0
  8. data/app/assets/javascripts/foreman_ansible/locale/fr/foreman_ansible.js +1 -0
  9. data/app/assets/javascripts/foreman_ansible/locale/gl/foreman_ansible.js +1 -0
  10. data/app/assets/javascripts/foreman_ansible/locale/it/foreman_ansible.js +1 -0
  11. data/app/assets/javascripts/foreman_ansible/locale/ja/foreman_ansible.js +1 -0
  12. data/app/assets/javascripts/foreman_ansible/locale/ka/foreman_ansible.js +1 -0
  13. data/app/assets/javascripts/foreman_ansible/locale/ko/foreman_ansible.js +1 -0
  14. data/app/assets/javascripts/foreman_ansible/locale/nl_NL/foreman_ansible.js +1 -0
  15. data/app/assets/javascripts/foreman_ansible/locale/pl/foreman_ansible.js +1 -0
  16. data/app/assets/javascripts/foreman_ansible/locale/pt_BR/foreman_ansible.js +1 -0
  17. data/app/assets/javascripts/foreman_ansible/locale/ru/foreman_ansible.js +1 -0
  18. data/app/assets/javascripts/foreman_ansible/locale/sv_SE/foreman_ansible.js +1 -0
  19. data/app/assets/javascripts/foreman_ansible/locale/zh_CN/foreman_ansible.js +1 -0
  20. data/app/assets/javascripts/foreman_ansible/locale/zh_TW/foreman_ansible.js +1 -0
  21. data/lib/foreman_ansible/engine.rb +0 -8
  22. data/lib/foreman_ansible/register.rb +2 -1
  23. data/lib/foreman_ansible/version.rb +1 -1
  24. data/locale/Makefile +16 -22
  25. data/locale/action_names.rb +2 -2
  26. data/locale/ca/foreman_ansible.po +39 -0
  27. data/locale/cs_CZ/foreman_ansible.po +39 -0
  28. data/locale/de/foreman_ansible.po +39 -0
  29. data/locale/en/foreman_ansible.po +39 -0
  30. data/locale/en_GB/foreman_ansible.po +39 -0
  31. data/locale/es/foreman_ansible.po +39 -0
  32. data/locale/foreman_ansible.pot +120 -59
  33. data/locale/fr/foreman_ansible.po +39 -0
  34. data/locale/gl/foreman_ansible.po +39 -0
  35. data/locale/it/foreman_ansible.po +39 -0
  36. data/locale/ja/foreman_ansible.po +39 -0
  37. data/locale/ka/LC_MESSAGES/foreman_ansible.mo +0 -0
  38. data/locale/ka/foreman_ansible.po +39 -0
  39. data/locale/ko/foreman_ansible.po +39 -0
  40. data/locale/nl_NL/foreman_ansible.po +39 -0
  41. data/locale/pl/foreman_ansible.po +39 -0
  42. data/locale/pt_BR/foreman_ansible.po +39 -0
  43. data/locale/ru/foreman_ansible.po +39 -0
  44. data/locale/sv_SE/foreman_ansible.po +39 -0
  45. data/locale/zh_CN/foreman_ansible.po +39 -0
  46. data/locale/zh_TW/foreman_ansible.po +39 -0
  47. metadata +34 -9
@@ -110,6 +110,18 @@ msgstr "要导入的 Ansible 角色名称"
110
110
  msgid "Ansible role names to be synced"
111
111
  msgstr "要同步的 Ansible 角色名称"
112
112
 
113
+ msgid "Ansible role to add to a host"
114
+ msgstr ""
115
+
116
+ msgid "Ansible role to add to a hostgroup"
117
+ msgstr ""
118
+
119
+ msgid "Ansible role to remove from a host"
120
+ msgstr ""
121
+
122
+ msgid "Ansible role to remove from a hostgroup"
123
+ msgstr ""
124
+
113
125
  msgid "Ansible roles assigned directly to host"
114
126
  msgstr "直接分配给主机的 Ansible 角色"
115
127
 
@@ -176,6 +188,9 @@ msgstr "已更改的 Ansible 角色"
176
188
  msgid "Close"
177
189
  msgstr "关闭"
178
190
 
191
+ msgid "Configure Ansible Job"
192
+ msgstr ""
193
+
179
194
  msgid "Configure Recurring Job"
180
195
  msgstr "配置周期性作业"
181
196
 
@@ -251,6 +266,12 @@ msgstr "变量描述"
251
266
  msgid "Destroy an override value"
252
267
  msgstr "销毁覆盖值"
253
268
 
269
+ msgid "Directly add an Ansible role to a host"
270
+ msgstr ""
271
+
272
+ msgid "Directly add an Ansible role to a hostgroup"
273
+ msgstr ""
274
+
254
275
  msgid "Directly assigned to Host"
255
276
  msgstr "直接分配给主机"
256
277
 
@@ -272,6 +293,12 @@ msgstr "编辑 Ansible 变量"
272
293
  msgid "Edit Ansible roles"
273
294
  msgstr "编辑 Ansible 角色"
274
295
 
296
+ msgid "Enable Ansible Callback"
297
+ msgstr ""
298
+
299
+ msgid "Enable the callback plugin for this template"
300
+ msgstr ""
301
+
275
302
  msgid "Enable web console"
276
303
  msgstr "启用 Web 控制台"
277
304
 
@@ -507,6 +534,9 @@ msgstr "没有找到可从中导入变量的代理服务器,请确定智能代
507
534
  msgid "No roles assigned directly to the host"
508
535
  msgstr ""
509
536
 
537
+ msgid "No roles/hosts assigned"
538
+ msgstr ""
539
+
510
540
  msgid "Nothing Found!"
511
541
  msgstr "未找到!"
512
542
 
@@ -585,6 +615,12 @@ msgstr "删除角色"
585
615
  msgid "Remove all"
586
616
  msgstr "删除所有"
587
617
 
618
+ msgid "Remove directly assigned Ansible role from a host"
619
+ msgstr ""
620
+
621
+ msgid "Remove directly assigned Ansible role from a hostgroup"
622
+ msgstr ""
623
+
588
624
  msgid "Remove duplicate values (only array type)"
589
625
  msgstr "删除重复值(仅用于阵列类型)"
590
626
 
@@ -672,6 +708,9 @@ msgstr "为主机组显示 Ansible 库存清单"
672
708
  msgid "Show Ansible inventory for hosts"
673
709
  msgstr "为主机显示 Ansible 库存清单"
674
710
 
711
+ msgid "Show full value"
712
+ msgstr ""
713
+
675
714
  msgid "Show role"
676
715
  msgstr "显示角色"
677
716
 
@@ -108,6 +108,18 @@ msgstr ""
108
108
  msgid "Ansible role names to be synced"
109
109
  msgstr ""
110
110
 
111
+ msgid "Ansible role to add to a host"
112
+ msgstr ""
113
+
114
+ msgid "Ansible role to add to a hostgroup"
115
+ msgstr ""
116
+
117
+ msgid "Ansible role to remove from a host"
118
+ msgstr ""
119
+
120
+ msgid "Ansible role to remove from a hostgroup"
121
+ msgstr ""
122
+
111
123
  msgid "Ansible roles assigned directly to host"
112
124
  msgstr ""
113
125
 
@@ -174,6 +186,9 @@ msgstr ""
174
186
  msgid "Close"
175
187
  msgstr "關閉"
176
188
 
189
+ msgid "Configure Ansible Job"
190
+ msgstr ""
191
+
177
192
  msgid "Configure Recurring Job"
178
193
  msgstr ""
179
194
 
@@ -249,6 +264,12 @@ msgstr "變數描述"
249
264
  msgid "Destroy an override value"
250
265
  msgstr ""
251
266
 
267
+ msgid "Directly add an Ansible role to a host"
268
+ msgstr ""
269
+
270
+ msgid "Directly add an Ansible role to a hostgroup"
271
+ msgstr ""
272
+
252
273
  msgid "Directly assigned to Host"
253
274
  msgstr ""
254
275
 
@@ -270,6 +291,12 @@ msgstr ""
270
291
  msgid "Edit Ansible roles"
271
292
  msgstr ""
272
293
 
294
+ msgid "Enable Ansible Callback"
295
+ msgstr ""
296
+
297
+ msgid "Enable the callback plugin for this template"
298
+ msgstr ""
299
+
273
300
  msgid "Enable web console"
274
301
  msgstr ""
275
302
 
@@ -503,6 +530,9 @@ msgstr ""
503
530
  msgid "No roles assigned directly to the host"
504
531
  msgstr ""
505
532
 
533
+ msgid "No roles/hosts assigned"
534
+ msgstr ""
535
+
506
536
  msgid "Nothing Found!"
507
537
  msgstr ""
508
538
 
@@ -581,6 +611,12 @@ msgstr ""
581
611
  msgid "Remove all"
582
612
  msgstr ""
583
613
 
614
+ msgid "Remove directly assigned Ansible role from a host"
615
+ msgstr ""
616
+
617
+ msgid "Remove directly assigned Ansible role from a hostgroup"
618
+ msgstr ""
619
+
584
620
  msgid "Remove duplicate values (only array type)"
585
621
  msgstr "移除重複的值(只有陣列類型)"
586
622
 
@@ -668,6 +704,9 @@ msgstr ""
668
704
  msgid "Show Ansible inventory for hosts"
669
705
  msgstr ""
670
706
 
707
+ msgid "Show full value"
708
+ msgstr ""
709
+
671
710
  msgid "Show role"
672
711
  msgstr ""
673
712
 
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: 11.2.1
4
+ version: 12.0.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: 2023-05-10 00:00:00.000000000 Z
11
+ date: 2023-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: acts_as_list
@@ -56,16 +56,22 @@ dependencies:
56
56
  name: foreman-tasks
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '7.0'
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: '9'
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
65
68
  requirements:
66
- - - "~>"
69
+ - - ">="
67
70
  - !ruby/object:Gem::Version
68
71
  version: '7.0'
72
+ - - "<"
73
+ - !ruby/object:Gem::Version
74
+ version: '9'
69
75
  description: Ansible integration with Foreman
70
76
  email:
71
77
  - elobatocs@gmail.com
@@ -76,6 +82,25 @@ files:
76
82
  - LICENSE
77
83
  - README.md
78
84
  - Rakefile
85
+ - app/assets/javascripts/foreman_ansible/locale/ca/foreman_ansible.js
86
+ - app/assets/javascripts/foreman_ansible/locale/cs_CZ/foreman_ansible.js
87
+ - app/assets/javascripts/foreman_ansible/locale/de/foreman_ansible.js
88
+ - app/assets/javascripts/foreman_ansible/locale/en/foreman_ansible.js
89
+ - app/assets/javascripts/foreman_ansible/locale/en_GB/foreman_ansible.js
90
+ - app/assets/javascripts/foreman_ansible/locale/es/foreman_ansible.js
91
+ - app/assets/javascripts/foreman_ansible/locale/fr/foreman_ansible.js
92
+ - app/assets/javascripts/foreman_ansible/locale/gl/foreman_ansible.js
93
+ - app/assets/javascripts/foreman_ansible/locale/it/foreman_ansible.js
94
+ - app/assets/javascripts/foreman_ansible/locale/ja/foreman_ansible.js
95
+ - app/assets/javascripts/foreman_ansible/locale/ka/foreman_ansible.js
96
+ - app/assets/javascripts/foreman_ansible/locale/ko/foreman_ansible.js
97
+ - app/assets/javascripts/foreman_ansible/locale/nl_NL/foreman_ansible.js
98
+ - app/assets/javascripts/foreman_ansible/locale/pl/foreman_ansible.js
99
+ - app/assets/javascripts/foreman_ansible/locale/pt_BR/foreman_ansible.js
100
+ - app/assets/javascripts/foreman_ansible/locale/ru/foreman_ansible.js
101
+ - app/assets/javascripts/foreman_ansible/locale/sv_SE/foreman_ansible.js
102
+ - app/assets/javascripts/foreman_ansible/locale/zh_CN/foreman_ansible.js
103
+ - app/assets/javascripts/foreman_ansible/locale/zh_TW/foreman_ansible.js
79
104
  - app/assets/stylesheets/foreman_ansible/foreman-ansible.css
80
105
  - app/controllers/ansible_roles_controller.rb
81
106
  - app/controllers/ansible_variables_controller.rb
@@ -469,7 +494,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
469
494
  - !ruby/object:Gem::Version
470
495
  version: '0'
471
496
  requirements: []
472
- rubygems_version: 3.1.4
497
+ rubygems_version: 3.4.12
473
498
  signing_key:
474
499
  specification_version: 4
475
500
  summary: Ansible integration with Foreman (theforeman.org)
@@ -480,16 +505,16 @@ test_files:
480
505
  - test/factories/host_ansible_enhancements.rb
481
506
  - test/fixtures/insights_playbook.yaml
482
507
  - test/fixtures/playbooks_example_output.json
508
+ - test/fixtures/report.json
483
509
  - test/fixtures/sample_facts.json
484
510
  - test/fixtures/sample_playbooks.json
485
- - test/fixtures/report.json
486
511
  - test/foreman_ansible/helpers/ansible_roles_helper_test.rb
487
512
  - test/functional/ansible_roles_controller_test.rb
488
513
  - test/functional/ansible_variables_controller_test.rb
514
+ - test/functional/api/v2/ansible_inventories_controller_test.rb
489
515
  - test/functional/api/v2/ansible_playbooks_controller_test.rb
490
516
  - test/functional/api/v2/ansible_roles_controller_test.rb
491
517
  - test/functional/api/v2/ansible_variables_controller_test.rb
492
- - test/functional/api/v2/ansible_inventories_controller_test.rb
493
518
  - test/functional/api/v2/hostgroups_controller_test.rb
494
519
  - test/functional/api/v2/hosts_controller_test.rb
495
520
  - test/functional/hosts_controller_test.rb
@@ -497,7 +522,9 @@ test_files:
497
522
  - test/graphql/mutations/hosts/assign_ansible_roles_mutation_test.rb
498
523
  - test/graphql/queries/ansible_roles_query_test.rb
499
524
  - test/graphql/queries/host_ansible_roles_query_test.rb
525
+ - test/integration/hostgroup_js_test.rb
500
526
  - test/test_plugin_helper.rb
527
+ - test/unit/ansible_provider_test.rb
501
528
  - test/unit/ansible_role_test.rb
502
529
  - test/unit/ansible_variable_test.rb
503
530
  - test/unit/concerns/config_reports_extensions_test.rb
@@ -518,5 +545,3 @@ test_files:
518
545
  - test/unit/services/override_resolver_test.rb
519
546
  - test/unit/services/roles_importer_test.rb
520
547
  - test/unit/services/ui_roles_importer_test.rb
521
- - test/unit/ansible_provider_test.rb
522
- - test/integration/hostgroup_js_test.rb