foreman_ansible 2.3.3 → 2.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb +16 -8
  3. data/lib/foreman_ansible/version.rb +1 -1
  4. data/webpack/index.js +11 -0
  5. metadata +33 -66
  6. data/locale/de/LC_MESSAGES/foreman_ansible.mo +0 -0
  7. data/locale/de/foreman_ansible.edit.po +0 -595
  8. data/locale/de/foreman_ansible.po.time_stamp +0 -0
  9. data/locale/en/LC_MESSAGES/foreman_ansible.mo +0 -0
  10. data/locale/en/foreman_ansible.edit.po +0 -593
  11. data/locale/en/foreman_ansible.po.time_stamp +0 -0
  12. data/locale/es/LC_MESSAGES/foreman_ansible.mo +0 -0
  13. data/locale/es/foreman_ansible.edit.po +0 -595
  14. data/locale/es/foreman_ansible.po.time_stamp +0 -0
  15. data/locale/fr/LC_MESSAGES/foreman_ansible.mo +0 -0
  16. data/locale/fr/foreman_ansible.edit.po +0 -595
  17. data/locale/fr/foreman_ansible.po.time_stamp +0 -0
  18. data/locale/it/LC_MESSAGES/foreman_ansible.mo +0 -0
  19. data/locale/it/foreman_ansible.edit.po +0 -595
  20. data/locale/it/foreman_ansible.po.time_stamp +0 -0
  21. data/locale/ja/LC_MESSAGES/foreman_ansible.mo +0 -0
  22. data/locale/ja/foreman_ansible.edit.po +0 -595
  23. data/locale/ja/foreman_ansible.po.time_stamp +0 -0
  24. data/locale/ko/LC_MESSAGES/foreman_ansible.mo +0 -0
  25. data/locale/ko/foreman_ansible.edit.po +0 -595
  26. data/locale/ko/foreman_ansible.po.time_stamp +0 -0
  27. data/locale/pt_BR/LC_MESSAGES/foreman_ansible.mo +0 -0
  28. data/locale/pt_BR/foreman_ansible.edit.po +0 -595
  29. data/locale/pt_BR/foreman_ansible.po.time_stamp +0 -0
  30. data/locale/ru/LC_MESSAGES/foreman_ansible.mo +0 -0
  31. data/locale/ru/foreman_ansible.edit.po +0 -596
  32. data/locale/ru/foreman_ansible.po.time_stamp +0 -0
  33. data/locale/zh_CN/LC_MESSAGES/foreman_ansible.mo +0 -0
  34. data/locale/zh_CN/foreman_ansible.edit.po +0 -595
  35. data/locale/zh_CN/foreman_ansible.po.time_stamp +0 -0
  36. data/locale/zh_TW/LC_MESSAGES/foreman_ansible.mo +0 -0
  37. data/locale/zh_TW/foreman_ansible.edit.po +0 -595
  38. data/locale/zh_TW/foreman_ansible.po.time_stamp +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1bc81f85be7efbc4ebb9636fc9bd550d54fb22f3
4
- data.tar.gz: d89aa3d74ffb81ed88a678e5f139530bdec076aa
3
+ metadata.gz: c5ceef1359d331a5cfa27bcf7e5cf85b0436dc56
4
+ data.tar.gz: 5102c4ba0ea312a0b9da1cb946f0c5dacde989d8
5
5
  SHA512:
6
- metadata.gz: 853c086e4c7a344844c2da7360221030dba7ea21fd9d65d0f387b3c76825af7b2bae258ca8914eeaecfee5756ca99fbfc0d6bf7580e96dff2f458a3e9d449162
7
- data.tar.gz: af2d1693fc63a41a202a2de837a9ae678b1400fc5c5c3eda567d4211e7244ac4036880d061fa74681052b277f356f33840d25f1845f92c5f02cc599f318b3103
6
+ metadata.gz: d4d51dd30a186c544453c54ca93514327a7f5b7871aaf23cdb503b0c93a9935033b5996f9d2aecbfcb19d1e30dd627a8ea491ed4d316f2f9ead9cfc25b5bfb94
7
+ data.tar.gz: a984a61e41842bf684c2be86396c3455bd4ebc2e107697e139516ece8fe2deb883a04aa919c81528c5ed0fc2eb1b96be19e8fce987c368794c5c23871496d23b
@@ -2,14 +2,22 @@
2
2
  <%= webpacked_plugins_css_for :foreman_ansible %>
3
3
 
4
4
  <div class='tab-pane' id='ansible_roles'>
5
- <div id='ansible_roles_switcher'></div>
6
5
  <% roles = f.object.is_a?(Hostgroup) ? roles_attrs(f.object.inherited_and_own_ansible_roles) : roles_attrs(f.object.all_ansible_roles) %>
7
6
  <% class_name = f.object.is_a?(Hostgroup) ? 'Hostgroup' : 'Host' %>
8
- <%= mount_react_component('AnsibleRolesSwitcher', '#ansible_roles_switcher', { :initialAssignedRoles => roles,
9
- :inheritedRoleIds => f.object.inherited_ansible_roles.map(&:id),
10
- :availableRolesUrl => ui_ansible_roles_path,
11
- :resourceId => f.object.id,
12
- :resourceName => class_name,
13
- :canView => User.current.can?(:view_ansible_roles)
14
- }.to_json) %>
7
+ <%= content_tag(:div, '',
8
+ :id => 'ansible_roles_switcher',
9
+ 'data-roles' => {
10
+ :initialAssignedRoles => roles,
11
+ :inheritedRoleIds => f.object.inherited_ansible_roles.map(&:id),
12
+ :availableRolesUrl => ui_ansible_roles_path,
13
+ :resourceId => f.object.id,
14
+ :resourceName => class_name,
15
+ :canView => User.current.can?(:view_ansible_roles)
16
+ }.to_json
17
+ ) %>
18
+ <% unless request.xhr? %>
19
+ <script type="text/javascript">
20
+ tfm.initAnsibleRoleSwitcher();
21
+ </script>
22
+ <% end %>
15
23
  </div>
@@ -4,5 +4,5 @@
4
4
  # This way other parts of Foreman can just call ForemanAnsible::VERSION
5
5
  # and detect what version the plugin is running.
6
6
  module ForemanAnsible
7
- VERSION = '2.3.3'
7
+ VERSION = '2.3.4'
8
8
  end
data/webpack/index.js CHANGED
@@ -2,6 +2,7 @@ import componentRegistry from 'foremanReact/components/componentRegistry';
2
2
  import injectReducer from 'foremanReact/redux/reducers/registerReducer';
3
3
  import ReportJsonViewer from './components/ReportJsonViewer';
4
4
  import AnsibleRolesSwitcher from './components/AnsibleRolesSwitcher';
5
+ import $ from 'jquery';
5
6
 
6
7
  import reducer from './reducer';
7
8
 
@@ -15,3 +16,13 @@ componentRegistry.register({
15
16
  });
16
17
 
17
18
  injectReducer('foremanAnsible', reducer);
19
+
20
+ window.tfm.initAnsibleRoleSwitcher = () => {
21
+ $(document).on('ContentLoad', evt => {
22
+ tfm.reactMounter.mount(
23
+ 'AnsibleRolesSwitcher',
24
+ '#ansible_roles_switcher',
25
+ $('#ansible_roles_switcher').data('roles')
26
+ );
27
+ });
28
+ }
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: 2.3.3
4
+ version: 2.3.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: 2019-03-29 00:00:00.000000000 Z
11
+ date: 2019-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -237,52 +237,19 @@ files:
237
237
  - lib/foreman_ansible/version.rb
238
238
  - locale/Makefile
239
239
  - locale/action_names.rb
240
- - locale/de/LC_MESSAGES/foreman_ansible.mo
241
- - locale/de/foreman_ansible.edit.po
242
240
  - locale/de/foreman_ansible.po
243
- - locale/de/foreman_ansible.po.time_stamp
244
- - locale/en/LC_MESSAGES/foreman_ansible.mo
245
- - locale/en/foreman_ansible.edit.po
246
241
  - locale/en/foreman_ansible.po
247
- - locale/en/foreman_ansible.po.time_stamp
248
- - locale/es/LC_MESSAGES/foreman_ansible.mo
249
- - locale/es/foreman_ansible.edit.po
250
242
  - locale/es/foreman_ansible.po
251
- - locale/es/foreman_ansible.po.time_stamp
252
243
  - locale/foreman_ansible.pot
253
- - locale/fr/LC_MESSAGES/foreman_ansible.mo
254
- - locale/fr/foreman_ansible.edit.po
255
244
  - locale/fr/foreman_ansible.po
256
- - locale/fr/foreman_ansible.po.time_stamp
257
245
  - locale/gemspec.rb
258
- - locale/it/LC_MESSAGES/foreman_ansible.mo
259
- - locale/it/foreman_ansible.edit.po
260
246
  - locale/it/foreman_ansible.po
261
- - locale/it/foreman_ansible.po.time_stamp
262
- - locale/ja/LC_MESSAGES/foreman_ansible.mo
263
- - locale/ja/foreman_ansible.edit.po
264
247
  - locale/ja/foreman_ansible.po
265
- - locale/ja/foreman_ansible.po.time_stamp
266
- - locale/ko/LC_MESSAGES/foreman_ansible.mo
267
- - locale/ko/foreman_ansible.edit.po
268
248
  - locale/ko/foreman_ansible.po
269
- - locale/ko/foreman_ansible.po.time_stamp
270
- - locale/pt_BR/LC_MESSAGES/foreman_ansible.mo
271
- - locale/pt_BR/foreman_ansible.edit.po
272
249
  - locale/pt_BR/foreman_ansible.po
273
- - locale/pt_BR/foreman_ansible.po.time_stamp
274
- - locale/ru/LC_MESSAGES/foreman_ansible.mo
275
- - locale/ru/foreman_ansible.edit.po
276
250
  - locale/ru/foreman_ansible.po
277
- - locale/ru/foreman_ansible.po.time_stamp
278
- - locale/zh_CN/LC_MESSAGES/foreman_ansible.mo
279
- - locale/zh_CN/foreman_ansible.edit.po
280
251
  - locale/zh_CN/foreman_ansible.po
281
- - locale/zh_CN/foreman_ansible.po.time_stamp
282
- - locale/zh_TW/LC_MESSAGES/foreman_ansible.mo
283
- - locale/zh_TW/foreman_ansible.edit.po
284
252
  - locale/zh_TW/foreman_ansible.po
285
- - locale/zh_TW/foreman_ansible.po.time_stamp
286
253
  - package.json
287
254
  - test/factories/ansible_proxy.rb
288
255
  - test/factories/ansible_roles.rb
@@ -381,48 +348,48 @@ required_rubygems_version: !ruby/object:Gem::Requirement
381
348
  version: '0'
382
349
  requirements: []
383
350
  rubyforge_project:
384
- rubygems_version: 2.6.8
351
+ rubygems_version: 2.6.13
385
352
  signing_key:
386
353
  specification_version: 4
387
354
  summary: Ansible integration with Foreman (theforeman.org)
388
355
  test_files:
389
- - test/unit/host_ansible_role_test.rb
390
- - test/unit/helpers/ansible_reports_helper_test.rb
356
+ - test/factories/ansible_proxy.rb
357
+ - test/factories/ansible_roles.rb
358
+ - test/factories/ansible_variables.rb
359
+ - test/fixtures/insights_playbook.yaml
360
+ - test/fixtures/report.json
361
+ - test/fixtures/sample_facts.json
362
+ - test/functional/ansible_roles_controller_test.rb
363
+ - test/functional/api/v2/ansible_roles_controller_test.rb
364
+ - test/functional/api/v2/ansible_variables_controller_test.rb
365
+ - test/functional/api/v2/hostgroups_controller_test.rb
366
+ - test/functional/api/v2/hosts_controller_test.rb
367
+ - test/functional/hosts_controller_test.rb
368
+ - test/functional/ui_ansible_roles_controller_test.rb
369
+ - test/functional/ansible_variables_controller_test.rb
370
+ - test/test_plugin_helper.rb
371
+ - test/unit/actions/run_ansible_job_test.rb
372
+ - test/unit/actions/run_proxy_ansible_command_test.rb
373
+ - test/unit/ansible_provider_test.rb
391
374
  - test/unit/ansible_role_test.rb
375
+ - test/unit/ansible_variable_test.rb
392
376
  - test/unit/concerns/config_reports_extensions_test.rb
393
377
  - test/unit/concerns/host_managed_extensions_test.rb
394
378
  - test/unit/concerns/hostgroup_extensions_test.rb
379
+ - test/unit/helpers/ansible_reports_helper_test.rb
380
+ - test/unit/host_ansible_role_test.rb
381
+ - test/unit/hostgroup_ansible_role_test.rb
395
382
  - test/unit/lib/foreman_ansible_core/command_creator_test.rb
396
383
  - test/unit/lib/foreman_ansible_core/playbook_runner_test.rb
397
384
  - test/unit/lib/proxy_api/ansible_test.rb
398
- - test/unit/ansible_provider_test.rb
399
- - test/unit/ansible_variable_test.rb
400
- - test/unit/hostgroup_ansible_role_test.rb
401
- - test/unit/services/fact_importer_test.rb
402
- - test/unit/services/ui_roles_importer_test.rb
403
- - test/unit/services/inventory_creator_test.rb
404
- - test/unit/services/roles_importer_test.rb
405
- - test/unit/services/insights_plan_runner_test.rb
406
- - test/unit/services/fact_parser_test.rb
385
+ - test/unit/services/ansible_report_importer_test.rb
407
386
  - test/unit/services/ansible_variables_importer_test.rb
408
387
  - test/unit/services/api_roles_importer_test.rb
409
- - test/unit/services/structured_fact_importer_test.rb
388
+ - test/unit/services/fact_importer_test.rb
389
+ - test/unit/services/fact_parser_test.rb
410
390
  - test/unit/services/fact_sparser_test.rb
411
- - test/unit/services/ansible_report_importer_test.rb
412
- - test/unit/actions/run_proxy_ansible_command_test.rb
413
- - test/unit/actions/run_ansible_job_test.rb
414
- - test/test_plugin_helper.rb
415
- - test/functional/hosts_controller_test.rb
416
- - test/functional/api/v2/hosts_controller_test.rb
417
- - test/functional/api/v2/ansible_roles_controller_test.rb
418
- - test/functional/api/v2/ansible_variables_controller_test.rb
419
- - test/functional/api/v2/hostgroups_controller_test.rb
420
- - test/functional/ui_ansible_roles_controller_test.rb
421
- - test/functional/ansible_roles_controller_test.rb
422
- - test/functional/ansible_variables_controller_test.rb
423
- - test/factories/ansible_roles.rb
424
- - test/factories/ansible_proxy.rb
425
- - test/factories/ansible_variables.rb
426
- - test/fixtures/report.json
427
- - test/fixtures/sample_facts.json
428
- - test/fixtures/insights_playbook.yaml
391
+ - test/unit/services/insights_plan_runner_test.rb
392
+ - test/unit/services/roles_importer_test.rb
393
+ - test/unit/services/structured_fact_importer_test.rb
394
+ - test/unit/services/ui_roles_importer_test.rb
395
+ - test/unit/services/inventory_creator_test.rb
@@ -1,595 +0,0 @@
1
- # German translations for foreman_ansible package.
2
- # Copyright (C) 2018 THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the foreman_ansible package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
5
- #
6
- msgid ""
7
- msgstr ""
8
- "Project-Id-Version: foreman_ansible 2.3.0\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2018-03-12 12:24-0400\n"
11
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
- "Language-Team: German\n"
13
- "Language: de\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=UTF-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
- "\n"
19
-
20
- #: ../app/controllers/ansible_roles_controller.rb:35
21
- msgid "Import of roles successfully finished."
22
- msgstr ""
23
-
24
- #: ../app/controllers/ansible_roles_controller.rb:50
25
- msgid "No changes in roles detected."
26
- msgstr ""
27
-
28
- #: ../app/controllers/ansible_roles_controller.rb:51
29
- msgid "No changes in roles detected on %s."
30
- msgstr ""
31
-
32
- #: ../app/controllers/ansible_variables_controller.rb:31
33
- msgid ""
34
- "Import of variables successfully finished.\n"
35
- "Added: #{results[:added].join(', ')} \n"
36
- " Removed: #{results[:obsolete].join(', ')}"
37
- msgstr ""
38
-
39
- #: ../app/controllers/ansible_variables_controller.rb:75
40
- msgid "No proxy found to import variables from, ensure that the smart proxy has the Ansible feature enabled."
41
- msgstr ""
42
-
43
- #: ../app/controllers/api/v2/ansible_override_values_controller.rb:17
44
- msgid "Override match"
45
- msgstr ""
46
-
47
- #: ../app/controllers/api/v2/ansible_override_values_controller.rb:18
48
- msgid "Override value, required if omit is false"
49
- msgstr ""
50
-
51
- #: ../app/controllers/api/v2/ansible_override_values_controller.rb:22
52
- msgid "Create an override value for a specific ansible variable"
53
- msgstr ""
54
-
55
- #: ../app/controllers/api/v2/ansible_override_values_controller.rb:34
56
- msgid "Destroy an override value"
57
- msgstr ""
58
-
59
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:18
60
- msgid "Show role"
61
- msgstr ""
62
-
63
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:22
64
- msgid "List Ansible roles"
65
- msgstr ""
66
-
67
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:28
68
- msgid "Deletes Ansible role"
69
- msgstr ""
70
-
71
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:34
72
- msgid "Import Ansible roles"
73
- msgstr ""
74
-
75
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:35 ../app/controllers/api/v2/ansible_roles_controller.rb:42 ../app/controllers/api/v2/ansible_variables_controller.rb:65 ../app/controllers/api/v2/ansible_variables_controller.rb:75
76
- msgid "Smart Proxy to import from"
77
- msgstr ""
78
-
79
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:36
80
- msgid "Ansible role names to import"
81
- msgstr ""
82
-
83
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:41
84
- msgid "Obsolete Ansible roles"
85
- msgstr ""
86
-
87
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:48
88
- msgid "Fetch Ansible roles available to be imported"
89
- msgstr ""
90
-
91
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:49
92
- msgid "Smart Proxy to fetch from"
93
- msgstr ""
94
-
95
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:19
96
- msgid "Show variable"
97
- msgstr ""
98
-
99
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:23
100
- msgid "List Ansible variables"
101
- msgstr ""
102
-
103
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:29
104
- msgid "Deletes Ansible variable"
105
- msgstr ""
106
-
107
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:38
108
- msgid "Name of variable"
109
- msgstr ""
110
-
111
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:39
112
- msgid "Role ID"
113
- msgstr ""
114
-
115
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:40
116
- msgid "Default value of variable"
117
- msgstr ""
118
-
119
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:41
120
- msgid "When enabled the parameter is hidden in the UI"
121
- msgstr ""
122
-
123
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:42
124
- msgid "The order in which values are resolved"
125
- msgstr ""
126
-
127
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:43
128
- msgid "Description of variable"
129
- msgstr ""
130
-
131
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:44
132
- msgid "Types of validation values"
133
- msgstr ""
134
-
135
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:45
136
- msgid "Used to enforce certain values for the parameter values"
137
- msgstr ""
138
-
139
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:46
140
- msgid "Types of variable values"
141
- msgstr ""
142
-
143
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:47
144
- msgid "Merge all matching values (only array/hash type)"
145
- msgstr ""
146
-
147
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:48
148
- msgid "Include default value when merging all matching values"
149
- msgstr ""
150
-
151
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:49
152
- msgid "Remove duplicate values (only array type)"
153
- msgstr ""
154
-
155
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:53
156
- msgid "Updates Ansible variable"
157
- msgstr ""
158
-
159
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:63
160
- msgid "Import Ansible variables. This will only import variables for already existing roles, it will not import any new roles"
161
- msgstr ""
162
-
163
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:73
164
- msgid "Obsolete Ansible variables. This will only obsolete variables for already existing roles, it will not delete any old roles"
165
- msgstr ""
166
-
167
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:17
168
- msgid "Plays Ansible roles on a hostgroup"
169
- msgstr ""
170
-
171
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:27
172
- msgid "Plays Ansible roles on hostgroups"
173
- msgstr ""
174
-
175
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:28
176
- msgid "IDs of hostgroups to play roles on"
177
- msgstr ""
178
-
179
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:39
180
- msgid "List all Ansible roles for a hostgroup"
181
- msgstr ""
182
-
183
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_param_group_extensions.rb:13 ../app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb:13
184
- msgid "IDs of associated ansible roles"
185
- msgstr ""
186
-
187
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:22
188
- msgid "Plays Ansible roles on a host"
189
- msgstr ""
190
-
191
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:31
192
- msgid "Plays Ansible roles on hosts"
193
- msgstr ""
194
-
195
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:32
196
- msgid "IDs of hosts to play roles on"
197
- msgstr ""
198
-
199
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:42
200
- msgid "List all Ansible roles for a host"
201
- msgstr ""
202
-
203
- #: ../app/controllers/foreman_ansible/concerns/hostgroups_controller_extensions.rb:27
204
- msgid "Host group has no associated hosts"
205
- msgstr ""
206
-
207
- #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:13
208
- msgid "There are no Ansible roles to play"
209
- msgstr ""
210
-
211
- #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:15
212
- msgid "Could not run Ansible roles for %{host}"
213
- msgstr ""
214
-
215
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:8
216
- msgid "From %s"
217
- msgstr ""
218
-
219
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:15
220
- msgid "Import"
221
- msgstr ""
222
-
223
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:21
224
- msgid "%s ago"
225
- msgstr ""
226
-
227
- #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:23 ../app/lib/actions/foreman_ansible/helpers/host_common.rb:18
228
- msgid "Play Ansible roles"
229
- msgstr ""
230
-
231
- #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:42
232
- msgid "Run Ansible roles"
233
- msgstr ""
234
-
235
- #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:10
236
- msgid "Playbook execution failed"
237
- msgstr ""
238
-
239
- #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:30 ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:35
240
- msgid "Error loading data from proxy"
241
- msgstr ""
242
-
243
- #: ../app/lib/actions/foreman_ansible/helpers/play_roles_description.rb:13
244
- msgid "Foreman"
245
- msgstr ""
246
-
247
- #: ../app/lib/proxy_api/ansible.rb:27
248
- msgid "Unable to get roles from Ansible"
249
- msgstr ""
250
-
251
- #: ../app/lib/proxy_api/ansible.rb:34 ../app/lib/proxy_api/ansible.rb:41
252
- msgid "Unable to get roles/variables from Ansible"
253
- msgstr ""
254
-
255
- #: ../app/models/setting/ansible.rb:20
256
- msgid "Use this to supply a path to an SSH Private Key that Ansible will use in lieu of a password Override with \"ansible_ssh_private_key_file\" host parameter"
257
- msgstr ""
258
-
259
- #: ../app/models/setting/ansible.rb:25
260
- msgid "Private Key Path"
261
- msgstr ""
262
-
263
- #: ../app/models/setting/ansible.rb:29
264
- msgid "Use this connection type by default when running Ansible playbooks. You can override this on hosts by adding a parameter \"ansible_connection\""
265
- msgstr ""
266
-
267
- #: ../app/models/setting/ansible.rb:33
268
- msgid "Connection type"
269
- msgstr ""
270
-
271
- #: ../app/models/setting/ansible.rb:37
272
- msgid "Enable/disable WinRM server certificate validation when running Ansible playbooks. You can override this on hosts by adding a parameter \"ansible_winrm_server_cert_validation\""
273
- msgstr ""
274
-
275
- #: ../app/models/setting/ansible.rb:42
276
- msgid "WinRM cert Validation"
277
- msgstr ""
278
-
279
- #: ../app/models/setting/ansible.rb:46
280
- msgid "Foreman will add the this level of verbosity for additional debugging output when running Ansible playbooks."
281
- msgstr ""
282
-
283
- #: ../app/models/setting/ansible.rb:49
284
- msgid "Default verbosity level"
285
- msgstr ""
286
-
287
- #: ../app/models/setting/ansible.rb:52
288
- msgid "Disabled"
289
- msgstr ""
290
-
291
- #: ../app/models/setting/ansible.rb:53
292
- msgid "Level 1 (-v)"
293
- msgstr ""
294
-
295
- #: ../app/models/setting/ansible.rb:54
296
- msgid "Level 2 (-vv)"
297
- msgstr ""
298
-
299
- #: ../app/models/setting/ansible.rb:55
300
- msgid "Level 3 (-vvv)"
301
- msgstr ""
302
-
303
- #: ../app/models/setting/ansible.rb:56
304
- msgid "Level 4 (-vvvv)"
305
- msgstr ""
306
-
307
- #: ../app/models/setting/ansible.rb:62
308
- msgid "Timeout (in seconds) to set when Foreman will trigger a play Ansible roles task after a host is fully provisioned. Set this to the maximum time you expect a host to take until it is ready after a reboot."
309
- msgstr ""
310
-
311
- #: ../app/models/setting/ansible.rb:67
312
- msgid "Post-provision timeout"
313
- msgstr ""
314
-
315
- #: ../app/models/setting/ansible.rb:71
316
- msgid "Whether to put Ansible parameters in the \"hostvars\" top-level key of the inventory. By default it is true, so that Host Parameters can be used directly in the playbooks. When false, Host Parameters can only be accessed through foreman_params[\"host_parameter\"] in the playbooks."
317
- msgstr ""
318
-
319
- #: ../app/models/setting/ansible.rb:77
320
- msgid "Top level Ansible variables"
321
- msgstr ""
322
-
323
- #: ../app/models/setting/ansible.rb:81
324
- msgid "Timeout (in minutes) when hosts should have reported."
325
- msgstr ""
326
-
327
- #: ../app/models/setting/ansible.rb:83
328
- msgid "Ansible report timeout"
329
- msgstr ""
330
-
331
- #: ../app/models/setting/ansible.rb:87
332
- msgid "Disable host configuration status turning to out of sync for %{cfgmgmt} after report does not arrive within configured interval"
333
- msgstr ""
334
-
335
- #: ../app/models/setting/ansible.rb:91
336
- msgid "%{cfgmgmt} out of sync disabled"
337
- msgstr ""
338
-
339
- #: ../app/models/setting/ansible.rb:104 ../lib/foreman_ansible/register.rb:73
340
- msgid "Ansible"
341
- msgstr ""
342
-
343
- #: ../app/services/foreman_ansible/insights_notification_builder.rb:51
344
- msgid "Remediation Plan"
345
- msgstr ""
346
-
347
- #: ../app/services/foreman_ansible/insights_notification_builder.rb:61 ../db/seeds.d/90_notification_blueprints.rb:13
348
- msgid "Job Details"
349
- msgstr ""
350
-
351
- #: ../app/services/foreman_ansible/proxy_api.rb:13
352
- msgid "Proxy not found"
353
- msgstr ""
354
-
355
- #: ../app/views/ansible_roles/import.html.erb:1
356
- msgid "Changed Ansible roles"
357
- msgstr ""
358
-
359
- #: ../app/views/ansible_roles/import.html.erb:3 ../app/views/ansible_variables/import.html.erb:3
360
- msgid "Select the changes you want to realize in Foreman"
361
- msgstr ""
362
-
363
- #: ../app/views/ansible_roles/import.html.erb:5 ../app/views/ansible_variables/import.html.erb:5
364
- msgid "Toggle"
365
- msgstr ""
366
-
367
- #: ../app/views/ansible_roles/import.html.erb:6 ../app/views/ansible_variables/import.html.erb:6
368
- msgid "New"
369
- msgstr ""
370
-
371
- #: ../app/views/ansible_roles/import.html.erb:8 ../app/views/ansible_variables/import.html.erb:8
372
- msgid "Check/Uncheck new"
373
- msgstr ""
374
-
375
- #: ../app/views/ansible_roles/import.html.erb:9 ../app/views/ansible_variables/import.html.erb:9
376
- msgid "Obsolete"
377
- msgstr ""
378
-
379
- #: ../app/views/ansible_roles/import.html.erb:11 ../app/views/ansible_variables/import.html.erb:11
380
- msgid "Check/Uncheck obsolete"
381
- msgstr ""
382
-
383
- #: ../app/views/ansible_roles/import.html.erb:19 ../app/views/ansible_variables/import.html.erb:19
384
- msgid "Check/Uncheck all"
385
- msgstr ""
386
-
387
- #: ../app/views/ansible_roles/import.html.erb:21 ../app/views/ansible_variables/import.html.erb:21
388
- msgid "Name"
389
- msgstr ""
390
-
391
- #: ../app/views/ansible_roles/import.html.erb:22 ../app/views/ansible_variables/import.html.erb:23
392
- msgid "Hosts count"
393
- msgstr ""
394
-
395
- #: ../app/views/ansible_roles/import.html.erb:23 ../app/views/ansible_variables/import.html.erb:24
396
- msgid "Hostgroups count"
397
- msgstr ""
398
-
399
- #: ../app/views/ansible_roles/import.html.erb:24 ../app/views/ansible_variables/import.html.erb:25
400
- msgid "Operation"
401
- msgstr ""
402
-
403
- #: ../app/views/ansible_roles/import.html.erb:35 ../app/views/ansible_variables/import.html.erb:36
404
- msgid "Check/Uncheck all %s changes"
405
- msgstr ""
406
-
407
- #: ../app/views/ansible_roles/import.html.erb:40 ../app/views/ansible_variables/import.html.erb:42
408
- msgid "Add"
409
- msgstr ""
410
-
411
- #: ../app/views/ansible_roles/import.html.erb:40 ../app/views/ansible_variables/import.html.erb:42
412
- msgid "Remove"
413
- msgstr ""
414
-
415
- #: ../app/views/ansible_roles/import.html.erb:48 ../app/views/ansible_variables/import.html.erb:50
416
- msgid "Cancel"
417
- msgstr ""
418
-
419
- #: ../app/views/ansible_roles/import.html.erb:49 ../app/views/ansible_variables/import.html.erb:51
420
- msgid "Update"
421
- msgstr ""
422
-
423
- #: ../app/views/ansible_roles/index.html.erb:1 ../app/views/ansible_roles/welcome.html.erb:1 ../app/views/ansible_roles/welcome.html.erb:6 ../app/views/foreman_ansible/ansible_roles/_select_tab_title.html.erb:1
424
- msgid "Ansible Roles"
425
- msgstr ""
426
-
427
- #: ../app/views/ansible_roles/index.html.erb:9
428
- msgid "Role|Name"
429
- msgstr ""
430
-
431
- #: ../app/views/ansible_roles/index.html.erb:10
432
- msgid "Hostgroups"
433
- msgstr ""
434
-
435
- #: ../app/views/ansible_roles/index.html.erb:11
436
- msgid "Hosts"
437
- msgstr ""
438
-
439
- #: ../app/views/ansible_roles/index.html.erb:12
440
- msgid "Imported at"
441
- msgstr ""
442
-
443
- #: ../app/views/ansible_roles/index.html.erb:13 ../app/views/ansible_variables/index.html.erb:12
444
- msgid "Actions"
445
- msgstr ""
446
-
447
- #: ../app/views/ansible_roles/index.html.erb:27 ../lib/foreman_ansible/register.rb:79
448
- msgid "Variables"
449
- msgstr ""
450
-
451
- #: ../app/views/ansible_roles/index.html.erb:33 ../app/views/ansible_variables/index.html.erb:36
452
- msgid "Delete %s?"
453
- msgstr ""
454
-
455
- #: ../app/views/ansible_roles/welcome.html.erb:7
456
- msgid ""
457
- "No ansible roles were found in Foreman. If you want to assign roles to your hosts,\n"
458
- " you have to import them first."
459
- msgstr ""
460
-
461
- #: ../app/views/ansible_roles/welcome.html.erb:10
462
- msgid "Learn more about this in the documentation."
463
- msgstr ""
464
-
465
- #: ../app/views/ansible_variables/_ansible_roles_list.html.erb:10
466
- msgid "Ansible Role"
467
- msgstr ""
468
-
469
- #: ../app/views/ansible_variables/_validator_text.html.erb:2
470
- msgid "Before including these variables on your playbooks, Foreman will validate that your variables comply with the validation."
471
- msgstr ""
472
-
473
- #: ../app/views/ansible_variables/_validator_text.html.erb:4
474
- msgid "If ERB is used in a parameter value, the validation of the value will happen during the ENC request. If the value is invalid, the ENC request will fail."
475
- msgstr ""
476
-
477
- #: ../app/views/ansible_variables/edit.html.erb:4 ../app/views/ansible_variables/index.html.erb:1
478
- msgid "Ansible Variables"
479
- msgstr ""
480
-
481
- #: ../app/views/ansible_variables/edit.html.erb:8
482
- msgid "Edit %s"
483
- msgstr ""
484
-
485
- #: ../app/views/ansible_variables/edit.html.erb:13
486
- msgid "Edit Ansible Variable"
487
- msgstr ""
488
-
489
- #: ../app/views/ansible_variables/import.html.erb:1
490
- msgid "Changed Ansible variables"
491
- msgstr ""
492
-
493
- #: ../app/views/ansible_variables/import.html.erb:22
494
- msgid "Ansible role"
495
- msgstr ""
496
-
497
- #: ../app/views/ansible_variables/index.html.erb:9
498
- msgid "Variable|Name"
499
- msgstr ""
500
-
501
- #: ../app/views/ansible_variables/index.html.erb:10
502
- msgid "Variable|Role"
503
- msgstr ""
504
-
505
- #: ../app/views/ansible_variables/index.html.erb:11
506
- msgid "Type"
507
- msgstr ""
508
-
509
- #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:5
510
- msgid "Play Roles"
511
- msgstr ""
512
-
513
- #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:9
514
- msgid "Nest"
515
- msgstr ""
516
-
517
- #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:10
518
- msgid "Clone"
519
- msgstr ""
520
-
521
- #: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:9
522
- msgid "Available roles"
523
- msgstr ""
524
-
525
- #: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:10
526
- msgid "This list of roles will be applied when the host finishes<br/> provisioning. Users can also play these roles through the API<br/>or by clicking on the Play Roles button on the Host page "
527
- msgstr ""
528
-
529
- #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:7
530
- msgid "Level"
531
- msgstr ""
532
-
533
- #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:8
534
- msgid "Module"
535
- msgstr ""
536
-
537
- #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:9
538
- msgid "Arguments"
539
- msgstr ""
540
-
541
- #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:10
542
- msgid "Message"
543
- msgstr ""
544
-
545
- #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:23
546
- msgid "Nothing to show"
547
- msgstr ""
548
-
549
- #: ../db/seeds.d/90_notification_blueprints.rb:5
550
- msgid "Jobs"
551
- msgstr ""
552
-
553
- #: ../db/seeds.d/90_notification_blueprints.rb:7
554
- msgid "Insights remediation on %{hosts_count} host(s) has finished successfully"
555
- msgstr ""
556
-
557
- #: ../lib/foreman_ansible/register.rb:75
558
- msgid "Roles"
559
- msgstr ""
560
-
561
- #: ../lib/foreman_ansible/remote_execution.rb:20
562
- msgid "Ansible: Run host roles"
563
- msgstr ""
564
-
565
- #: ../lib/foreman_ansible/remote_execution.rb:21
566
- msgid "Runs an Ansible playbook which contains all the roles defined for a host"
567
- msgstr ""
568
-
569
- #: ../lib/foreman_ansible/remote_execution.rb:26
570
- msgid "Ansible: Run Insights maintenance plan"
571
- msgstr ""
572
-
573
- #: ../lib/foreman_ansible/remote_execution.rb:27
574
- msgid "Runs a given maintenance plan from Red Hat Access Insights given an ID."
575
- msgstr ""
576
-
577
- #: action_names.rb:2
578
- msgid "Remote action:"
579
- msgstr ""
580
-
581
- #: action_names.rb:3
582
- msgid "Import facts"
583
- msgstr ""
584
-
585
- #: action_names.rb:4
586
- msgid "Import Puppet classes"
587
- msgstr ""
588
-
589
- #: action_names.rb:5
590
- msgid "Action with sub plans"
591
- msgstr ""
592
-
593
- #: gemspec.rb:2
594
- msgid "Ansible support in Foreman"
595
- msgstr ""