foreman_ansible 5.0.1 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/foreman_ansible/ansible_provider.rb +8 -0
  3. data/app/models/setting/ansible.rb +1 -1
  4. data/app/services/foreman_ansible/operating_system_parser.rb +1 -1
  5. data/app/services/foreman_ansible/variables_importer.rb +8 -9
  6. data/app/views/foreman_ansible/job_templates/capsule_upgrade_-_ansible_default.erb +71 -0
  7. data/app/views/foreman_ansible/job_templates/{connect_red_hat_receptor_controller_-_ansible_default.erb → configure_cloud_connector_-_ansible_default.erb} +5 -2
  8. data/db/migrate/20200421201839_update_ansible_inv_template_name.rb +9 -0
  9. data/db/seeds.d/75_job_templates.rb +1 -1
  10. data/lib/foreman_ansible/engine.rb +22 -25
  11. data/lib/foreman_ansible/remote_execution.rb +11 -0
  12. data/lib/foreman_ansible/version.rb +1 -1
  13. data/locale/action_names.rb +3 -3
  14. data/locale/ca/LC_MESSAGES/foreman_ansible.mo +0 -0
  15. data/locale/ca/foreman_ansible.po +556 -0
  16. data/locale/cs_CZ/LC_MESSAGES/foreman_ansible.mo +0 -0
  17. data/locale/cs_CZ/foreman_ansible.po +556 -0
  18. data/locale/de/LC_MESSAGES/foreman_ansible.mo +0 -0
  19. data/locale/de/foreman_ansible.po +38 -33
  20. data/locale/en/LC_MESSAGES/foreman_ansible.mo +0 -0
  21. data/locale/en/foreman_ansible.po +38 -33
  22. data/locale/en_GB/LC_MESSAGES/foreman_ansible.mo +0 -0
  23. data/locale/en_GB/foreman_ansible.po +555 -0
  24. data/locale/es/LC_MESSAGES/foreman_ansible.mo +0 -0
  25. data/locale/es/foreman_ansible.po +38 -33
  26. data/locale/foreman_ansible.pot +96 -88
  27. data/locale/fr/LC_MESSAGES/foreman_ansible.mo +0 -0
  28. data/locale/fr/foreman_ansible.po +38 -33
  29. data/locale/gl/LC_MESSAGES/foreman_ansible.mo +0 -0
  30. data/locale/gl/foreman_ansible.po +553 -0
  31. data/locale/it/LC_MESSAGES/foreman_ansible.mo +0 -0
  32. data/locale/it/foreman_ansible.po +38 -33
  33. data/locale/ja/LC_MESSAGES/foreman_ansible.mo +0 -0
  34. data/locale/ja/foreman_ansible.po +38 -33
  35. data/locale/ko/LC_MESSAGES/foreman_ansible.mo +0 -0
  36. data/locale/ko/foreman_ansible.po +38 -33
  37. data/locale/nl_NL/LC_MESSAGES/foreman_ansible.mo +0 -0
  38. data/locale/nl_NL/foreman_ansible.po +559 -0
  39. data/locale/pl/LC_MESSAGES/foreman_ansible.mo +0 -0
  40. data/locale/pl/foreman_ansible.po +556 -0
  41. data/locale/pt_BR/LC_MESSAGES/foreman_ansible.mo +0 -0
  42. data/locale/pt_BR/foreman_ansible.po +38 -33
  43. data/locale/ru/LC_MESSAGES/foreman_ansible.mo +0 -0
  44. data/locale/ru/foreman_ansible.po +38 -33
  45. data/locale/sv_SE/LC_MESSAGES/foreman_ansible.mo +0 -0
  46. data/locale/sv_SE/foreman_ansible.po +556 -0
  47. data/locale/zh_CN/LC_MESSAGES/foreman_ansible.mo +0 -0
  48. data/locale/zh_CN/foreman_ansible.po +38 -33
  49. data/locale/zh_TW/LC_MESSAGES/foreman_ansible.mo +0 -0
  50. data/locale/zh_TW/foreman_ansible.po +38 -33
  51. data/test/factories/ansible_variables.rb +5 -0
  52. data/test/unit/services/ansible_variables_importer_test.rb +68 -43
  53. metadata +55 -61
  54. data/locale/de/foreman_ansible.edit.po +0 -825
  55. data/locale/de/foreman_ansible.po.time_stamp +0 -0
  56. data/locale/en/foreman_ansible.edit.po +0 -714
  57. data/locale/en/foreman_ansible.po.time_stamp +0 -0
  58. data/locale/es/foreman_ansible.edit.po +0 -845
  59. data/locale/es/foreman_ansible.po.time_stamp +0 -0
  60. data/locale/fr/foreman_ansible.edit.po +0 -847
  61. data/locale/fr/foreman_ansible.po.time_stamp +0 -0
  62. data/locale/it/foreman_ansible.edit.po +0 -818
  63. data/locale/it/foreman_ansible.po.time_stamp +0 -0
  64. data/locale/ja/foreman_ansible.edit.po +0 -818
  65. data/locale/ja/foreman_ansible.po.time_stamp +0 -0
  66. data/locale/ko/foreman_ansible.edit.po +0 -804
  67. data/locale/ko/foreman_ansible.po.time_stamp +0 -0
  68. data/locale/pt_BR/foreman_ansible.edit.po +0 -845
  69. data/locale/pt_BR/foreman_ansible.po.time_stamp +0 -0
  70. data/locale/ru/foreman_ansible.edit.po +0 -819
  71. data/locale/ru/foreman_ansible.po.time_stamp +0 -0
  72. data/locale/zh_CN/foreman_ansible.edit.po +0 -813
  73. data/locale/zh_CN/foreman_ansible.po.time_stamp +0 -0
  74. data/locale/zh_TW/foreman_ansible.edit.po +0 -804
  75. data/locale/zh_TW/foreman_ansible.po.time_stamp +0 -0
File without changes
@@ -1,813 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the foreman_ansible package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- # Translators:
7
- # Dominic Cleal <dominic@cleal.org>, 2019
8
- # Bryan Kearney <bryan.kearney@gmail.com>, 2019
9
- # tim123, 2019
10
- #
11
- #, fuzzy
12
- msgid ""
13
- msgstr ""
14
- "Project-Id-Version: foreman_ansible 3.0.0\n"
15
- "Report-Msgid-Bugs-To: \n"
16
- "POT-Creation-Date: 2019-06-27 17:00+0200\n"
17
- "PO-Revision-Date: 2018-11-14 21:36+0000\n"
18
- "Last-Translator: tim123, 2019\n"
19
- "Language-Team: Chinese (China) (https://www.transifex.com/foreman/teams/114/zh_CN/)\n"
20
- "MIME-Version: 1.0\n"
21
- "Content-Type: text/plain; charset=UTF-8\n"
22
- "Content-Transfer-Encoding: 8bit\n"
23
- "Language: zh_CN\n"
24
- "Plural-Forms: nplurals=1; plural=0;\n"
25
-
26
- #: ../app/controllers/ansible_roles_controller.rb:35
27
- msgid "Import of roles successfully finished."
28
- msgstr "角色导入已成功完成。"
29
-
30
- #: ../app/controllers/ansible_roles_controller.rb:50
31
- msgid "No changes in roles detected."
32
- msgstr "没有检测到角色更改。"
33
-
34
- #: ../app/controllers/ansible_roles_controller.rb:51
35
- msgid "No changes in roles detected on %s."
36
- msgstr "%s 上没有检测到角色更改。"
37
-
38
- #: ../app/controllers/ansible_variables_controller.rb:39
39
- msgid "No changes in variables detected on %s."
40
- msgstr ""
41
-
42
- #: ../app/controllers/ansible_variables_controller.rb:49
43
- msgid ""
44
- "Import of variables successfully finished.\n"
45
- "Added: #{results[:added].count} \n"
46
- " Removed: #{results[:obsolete].count} \n"
47
- "Updated: #{results[:updated].count}"
48
- msgstr ""
49
-
50
- #: ../app/controllers/ansible_variables_controller.rb:102
51
- msgid ""
52
- "No proxy found to import variables from, ensure that the smart proxy has the"
53
- " Ansible feature enabled."
54
- msgstr ""
55
-
56
- #: ../app/controllers/api/v2/ansible_inventories_controller.rb:7
57
- #: ../app/controllers/api/v2/ansible_inventories_controller.rb:12
58
- msgid "Show Ansible inventory for hosts"
59
- msgstr ""
60
-
61
- #: ../app/controllers/api/v2/ansible_inventories_controller.rb:8
62
- #: ../app/controllers/api/v2/ansible_inventories_controller.rb:13
63
- msgid "IDs of hosts included in inventory"
64
- msgstr ""
65
-
66
- #: ../app/controllers/api/v2/ansible_inventories_controller.rb:17
67
- #: ../app/controllers/api/v2/ansible_inventories_controller.rb:22
68
- msgid "Show Ansible inventory for hostgroups"
69
- msgstr ""
70
-
71
- #: ../app/controllers/api/v2/ansible_inventories_controller.rb:18
72
- #: ../app/controllers/api/v2/ansible_inventories_controller.rb:23
73
- msgid "IDs of hostgroups included in inventory"
74
- msgstr ""
75
-
76
- #: ../app/controllers/api/v2/ansible_override_values_controller.rb:17
77
- msgid "Override match"
78
- msgstr "替代匹配"
79
-
80
- #: ../app/controllers/api/v2/ansible_override_values_controller.rb:18
81
- msgid "Override value, required if omit is false"
82
- msgstr "覆盖值,omit 为 false 时必需"
83
-
84
- #: ../app/controllers/api/v2/ansible_override_values_controller.rb:22
85
- msgid "Create an override value for a specific ansible variable"
86
- msgstr ""
87
-
88
- #: ../app/controllers/api/v2/ansible_override_values_controller.rb:34
89
- msgid "Destroy an override value"
90
- msgstr ""
91
-
92
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:18
93
- msgid "Show role"
94
- msgstr "显示角色"
95
-
96
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:22
97
- msgid "List Ansible roles"
98
- msgstr "列出 Ansible 角色"
99
-
100
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:29
101
- msgid "Deletes Ansible role"
102
- msgstr "删除 Ansible 角色"
103
-
104
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:35
105
- msgid "Import Ansible roles"
106
- msgstr "导入 Ansible 角色"
107
-
108
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:36
109
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:43
110
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:75
111
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:85
112
- msgid "Smart Proxy to import from"
113
- msgstr "作为导入来源的智能代理服务器"
114
-
115
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:37
116
- msgid "Ansible role names to import"
117
- msgstr "导入的 Ansible 角色名称"
118
-
119
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:42
120
- msgid "Obsolete Ansible roles"
121
- msgstr "废弃的 Ansible 角色"
122
-
123
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:49
124
- msgid "Fetch Ansible roles available to be imported"
125
- msgstr "获取可以导入的 Ansible 角色"
126
-
127
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:50
128
- msgid "Smart Proxy to fetch from"
129
- msgstr "用来获取的职能代理"
130
-
131
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:73
132
- msgid "Smart proxy id is required"
133
- msgstr ""
134
-
135
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:20
136
- msgid "Show variable"
137
- msgstr ""
138
-
139
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:24
140
- msgid "List Ansible variables"
141
- msgstr ""
142
-
143
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:31
144
- msgid "Deletes Ansible variable"
145
- msgstr ""
146
-
147
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:40
148
- msgid "Name of variable"
149
- msgstr "变量名称"
150
-
151
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:41
152
- msgid "Role ID"
153
- msgstr ""
154
-
155
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:42
156
- msgid "Default value of variable"
157
- msgstr "变量的默认值"
158
-
159
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:43
160
- msgid "When enabled the parameter is hidden in the UI"
161
- msgstr "何时将启用的参数隐藏到 UI 中"
162
-
163
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:44
164
- msgid "The order in which values are resolved"
165
- msgstr "解析参数值的指令"
166
-
167
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:45
168
- msgid "Description of variable"
169
- msgstr "变量描述"
170
-
171
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:46
172
- msgid "Types of validation values"
173
- msgstr "验证值类型"
174
-
175
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:47
176
- msgid "Used to enforce certain values for the parameter values"
177
- msgstr "用来在参数中强制使用某些值"
178
-
179
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:48
180
- msgid "Types of variable values"
181
- msgstr "变量值类型"
182
-
183
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:49
184
- msgid "Merge all matching values (only array/hash type)"
185
- msgstr "合并所有匹配的值(仅用于阵列/哈希类型)"
186
-
187
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:50
188
- msgid "Include default value when merging all matching values"
189
- msgstr "合并所有匹配值时包括默认值"
190
-
191
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:51
192
- msgid "Remove duplicate values (only array type)"
193
- msgstr "删除重复值(仅用于阵列类型)"
194
-
195
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:52
196
- msgid "Whether to override variable or not"
197
- msgstr ""
198
-
199
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:56
200
- msgid "Create Ansible variable"
201
- msgstr ""
202
-
203
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:63
204
- msgid "Updates Ansible variable"
205
- msgstr ""
206
-
207
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:73
208
- msgid ""
209
- "Import Ansible variables. This will only import variables for already "
210
- "existing roles, it will not import any new roles"
211
- msgstr ""
212
-
213
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:83
214
- msgid ""
215
- "Obsolete Ansible variables. This will only obsolete variables for already "
216
- "existing roles, it will not delete any old roles"
217
- msgstr ""
218
-
219
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:20
220
- msgid "Plays Ansible roles on a hostgroup"
221
- msgstr "扮演主机组上的 Ansible 角色"
222
-
223
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:30
224
- msgid "Plays Ansible roles on hostgroups"
225
- msgstr "扮演主机组上的 Ansible 角色"
226
-
227
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:31
228
- msgid "IDs of hostgroups to play roles on"
229
- msgstr "扮演角色所在的主机组 ID"
230
-
231
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:42
232
- msgid "List all Ansible roles for a hostgroup"
233
- msgstr "列出一个主机组的所有 Ansible 角色"
234
-
235
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:53
236
- msgid "Assigns Ansible roles to a hostgroup"
237
- msgstr ""
238
-
239
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:56
240
- msgid "Ansible roles to assign to a hostgroup"
241
- msgstr ""
242
-
243
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_param_group_extensions.rb:13
244
- #: ../app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb:13
245
- msgid "IDs of associated ansible roles"
246
- msgstr "相关 ansible 角色的 ID"
247
-
248
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:26
249
- msgid "Plays Ansible roles on a host"
250
- msgstr "扮演主机上的 Ansible 角色"
251
-
252
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:35
253
- msgid "Plays Ansible roles on hosts"
254
- msgstr "扮演主机上的 Ansible 角色"
255
-
256
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:36
257
- msgid "IDs of hosts to play roles on"
258
- msgstr "扮演角色所在的主机 ID"
259
-
260
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:46
261
- msgid "List all Ansible roles for a host"
262
- msgstr "显示一个主机上的所有 Ansible 角色"
263
-
264
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:56
265
- msgid "Assigns Ansible roles to a host"
266
- msgstr ""
267
-
268
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:59
269
- msgid "Ansible roles to assign to a host"
270
- msgstr ""
271
-
272
- #: ../app/controllers/foreman_ansible/concerns/hostgroups_controller_extensions.rb:27
273
- msgid "Host group has no associated hosts"
274
- msgstr "主机组没有关联的主机"
275
-
276
- #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:13
277
- msgid "There are no Ansible roles to play"
278
- msgstr "没有扮演的 Ansible 角色"
279
-
280
- #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:15
281
- msgid "Could not run Ansible roles for %{host}"
282
- msgstr "无法为 %{host} 运行 Ansible 角色"
283
-
284
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:8
285
- msgid "Import from %s"
286
- msgstr "从 %s 导入"
287
-
288
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:23
289
- msgid "Ansible Role"
290
- msgstr ""
291
-
292
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:29
293
- msgid "Import"
294
- msgstr "导入"
295
-
296
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:35
297
- msgid "%s ago"
298
- msgstr "%s 前"
299
-
300
- #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:13
301
- #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:18
302
- msgid "Play Ansible roles"
303
- msgstr "扮演 Ansible 角色"
304
-
305
- #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:10
306
- msgid "Playbook execution failed"
307
- msgstr "Playbook 执行失败"
308
-
309
- #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:30
310
- #: ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:36
311
- msgid "Error loading data from proxy"
312
- msgstr "从代理服务器载入数据出错"
313
-
314
- #: ../app/lib/actions/foreman_ansible/helpers/play_roles_description.rb:13
315
- msgid "Foreman"
316
- msgstr "Foreman"
317
-
318
- #: ../app/lib/proxy_api/ansible.rb:27
319
- msgid "Unable to get roles from Ansible"
320
- msgstr "无法从 Ansible 获取角色"
321
-
322
- #: ../app/lib/proxy_api/ansible.rb:34 ../app/lib/proxy_api/ansible.rb:41
323
- msgid "Unable to get roles/variables from Ansible"
324
- msgstr ""
325
-
326
- #: ../app/models/setting/ansible.rb:20
327
- msgid ""
328
- "Use this to supply a path to an SSH Private Key that Ansible will use in "
329
- "lieu of a password Override with \"ansible_ssh_private_key_file\" host "
330
- "parameter"
331
- msgstr ""
332
- "使用此选项提供一个 SSH 私钥路径,供 Ansible 用于代替密码。用 \"ansible_ssh_private_key_file\" "
333
- "主机参数覆盖"
334
-
335
- #: ../app/models/setting/ansible.rb:25
336
- msgid "Private Key Path"
337
- msgstr "私钥路径"
338
-
339
- #: ../app/models/setting/ansible.rb:29
340
- msgid ""
341
- "Use this connection type by default when running Ansible playbooks. You can "
342
- "override this on hosts by adding a parameter \"ansible_connection\""
343
- msgstr ""
344
- "运行 Ansible playbook 时,默认使用这种连接类型。您可以通过添加参数 \"ansible_connection\" 在主机上覆盖此类型"
345
-
346
- #: ../app/models/setting/ansible.rb:33
347
- msgid "Connection type"
348
- msgstr "连接类型"
349
-
350
- #: ../app/models/setting/ansible.rb:37
351
- msgid ""
352
- "Enable/disable WinRM server certificate validation when running Ansible "
353
- "playbooks. You can override this on hosts by adding a parameter "
354
- "\"ansible_winrm_server_cert_validation\""
355
- msgstr ""
356
- "运行 Ansible playbook 时启用/禁用 WinRM 服务器证书验证。您可以通过添加参数 "
357
- "\"ansible_winrm_server_cert_validation\" 在主机上覆盖此选项"
358
-
359
- #: ../app/models/setting/ansible.rb:42
360
- msgid "WinRM cert Validation"
361
- msgstr "WinRM 证书验证"
362
-
363
- #: ../app/models/setting/ansible.rb:46
364
- msgid ""
365
- "Foreman will add the this level of verbosity for additional debugging output"
366
- " when running Ansible playbooks."
367
- msgstr "运行 Ansible playbook 时,Foreman 将添加这一详细级别,以获得额外调试输出。"
368
-
369
- #: ../app/models/setting/ansible.rb:49
370
- msgid "Default verbosity level"
371
- msgstr "默认详细级别"
372
-
373
- #: ../app/models/setting/ansible.rb:52
374
- msgid "Disabled"
375
- msgstr "已禁用"
376
-
377
- #: ../app/models/setting/ansible.rb:53
378
- msgid "Level 1 (-v)"
379
- msgstr "级别 1 (-v)"
380
-
381
- #: ../app/models/setting/ansible.rb:54
382
- msgid "Level 2 (-vv)"
383
- msgstr "级别 2 (-vv)"
384
-
385
- #: ../app/models/setting/ansible.rb:55
386
- msgid "Level 3 (-vvv)"
387
- msgstr "级别 3 (-vvv)"
388
-
389
- #: ../app/models/setting/ansible.rb:56
390
- msgid "Level 4 (-vvvv)"
391
- msgstr "级别 4 (-vvvv)"
392
-
393
- #: ../app/models/setting/ansible.rb:62
394
- msgid ""
395
- "Timeout (in seconds) to set when Foreman will trigger a play Ansible roles "
396
- "task after a host is fully provisioned. Set this to the maximum time you "
397
- "expect a host to take until it is ready after a reboot."
398
- msgstr ""
399
- "在主机完全置备后 Foreman 将触发一个扮演 Ansible 角色任务时设置的超时(秒)。将此超时设为您预计主机在重启后准备就绪所需的最长时间。"
400
-
401
- #: ../app/models/setting/ansible.rb:67
402
- msgid "Post-provision timeout"
403
- msgstr "置备后超时"
404
-
405
- #: ../app/models/setting/ansible.rb:71
406
- msgid "Timeout (in minutes) when hosts should have reported."
407
- msgstr "主机应该被报告的超时时间(以分钟为单位)"
408
-
409
- #: ../app/models/setting/ansible.rb:73
410
- msgid "Ansible report timeout"
411
- msgstr "Ansible 报告超时"
412
-
413
- #: ../app/models/setting/ansible.rb:77
414
- msgid ""
415
- "Disable host configuration status turning to out of sync for %{cfgmgmt} "
416
- "after report does not arrive within configured interval"
417
- msgstr "禁用在配置的间隔时间后没有获得报告时把主机配置状态变为不同步(%{cfgmgmt})"
418
-
419
- #: ../app/models/setting/ansible.rb:81
420
- msgid "%{cfgmgmt} out of sync disabled"
421
- msgstr "%{cfgmgmt} 不同步被禁用"
422
-
423
- #: ../app/models/setting/ansible.rb:86
424
- msgid "Foreman will run Ansible playbooks using this implementation"
425
- msgstr ""
426
-
427
- #: ../app/models/setting/ansible.rb:88
428
- msgid "Implementation for running Ansible"
429
- msgstr ""
430
-
431
- #: ../app/models/setting/ansible.rb:104 ../lib/foreman_ansible/register.rb:97
432
- msgid "Ansible"
433
- msgstr "Ansible"
434
-
435
- #: ../app/services/foreman_ansible/insights_notification_builder.rb:51
436
- msgid "Remediation Plan"
437
- msgstr " 补救计划"
438
-
439
- #: ../app/services/foreman_ansible/insights_notification_builder.rb:61
440
- #: ../db/seeds.d/90_notification_blueprints.rb:13
441
- msgid "Job Details"
442
- msgstr "任务详情"
443
-
444
- #: ../app/services/foreman_ansible/proxy_api.rb:13
445
- msgid "Proxy not found"
446
- msgstr "找不到代理"
447
-
448
- #: ../app/views/ansible_roles/import.html.erb:1
449
- msgid "Changed Ansible roles"
450
- msgstr "已更改的 Ansible 角色"
451
-
452
- #: ../app/views/ansible_roles/import.html.erb:3
453
- #: ../app/views/ansible_variables/import.html.erb:3
454
- msgid "Select the changes you want to realize in Foreman"
455
- msgstr "选择要在 Foreman 实现的更改"
456
-
457
- #: ../app/views/ansible_roles/import.html.erb:5
458
- #: ../app/views/ansible_variables/import.html.erb:5
459
- msgid "Toggle"
460
- msgstr "切换"
461
-
462
- #: ../app/views/ansible_roles/import.html.erb:6
463
- #: ../app/views/ansible_variables/import.html.erb:6
464
- msgid "New"
465
- msgstr "新建"
466
-
467
- #: ../app/views/ansible_roles/import.html.erb:8
468
- #: ../app/views/ansible_variables/import.html.erb:8
469
- msgid "Check/Uncheck new"
470
- msgstr "选择/不选择"
471
-
472
- #: ../app/views/ansible_roles/import.html.erb:9
473
- #: ../app/views/ansible_variables/import.html.erb:9
474
- msgid "Obsolete"
475
- msgstr "过时的"
476
-
477
- #: ../app/views/ansible_roles/import.html.erb:11
478
- #: ../app/views/ansible_variables/import.html.erb:11
479
- msgid "Check/Uncheck obsolete"
480
- msgstr "选择/取消 过时"
481
-
482
- #: ../app/views/ansible_roles/import.html.erb:19
483
- #: ../app/views/ansible_variables/import.html.erb:22
484
- msgid "Check/Uncheck all"
485
- msgstr "选择/取消所有选择"
486
-
487
- #: ../app/views/ansible_roles/import.html.erb:21
488
- #: ../app/views/ansible_variables/import.html.erb:24
489
- msgid "Name"
490
- msgstr "名称"
491
-
492
- #: ../app/views/ansible_roles/import.html.erb:22
493
- #: ../app/views/ansible_variables/import.html.erb:26
494
- msgid "Hosts count"
495
- msgstr "主机数"
496
-
497
- #: ../app/views/ansible_roles/import.html.erb:23
498
- #: ../app/views/ansible_variables/import.html.erb:27
499
- msgid "Hostgroups count"
500
- msgstr "主机组数"
501
-
502
- #: ../app/views/ansible_roles/import.html.erb:24
503
- #: ../app/views/ansible_variables/import.html.erb:28
504
- msgid "Operation"
505
- msgstr "作业"
506
-
507
- #: ../app/views/ansible_roles/import.html.erb:35
508
- #: ../app/views/ansible_variables/import.html.erb:39
509
- msgid "Check/Uncheck all %s changes"
510
- msgstr "选择/不选择 %s 的所有修改"
511
-
512
- #: ../app/views/ansible_roles/import.html.erb:40
513
- #: ../app/views/ansible_variables/import.html.erb:45
514
- msgid "Add"
515
- msgstr "添加"
516
-
517
- #: ../app/views/ansible_roles/import.html.erb:40
518
- #: ../app/views/ansible_variables/import.html.erb:45
519
- msgid "Remove"
520
- msgstr "删除"
521
-
522
- #: ../app/views/ansible_roles/import.html.erb:48
523
- #: ../app/views/ansible_variables/import.html.erb:53
524
- msgid "Cancel"
525
- msgstr "取消"
526
-
527
- #: ../app/views/ansible_roles/import.html.erb:49
528
- #: ../app/views/ansible_variables/import.html.erb:12
529
- #: ../app/views/ansible_variables/import.html.erb:45
530
- #: ../app/views/ansible_variables/import.html.erb:54
531
- msgid "Update"
532
- msgstr "更新"
533
-
534
- #: ../app/views/ansible_roles/index.html.erb:1
535
- #: ../app/views/ansible_roles/welcome.html.erb:1
536
- #: ../app/views/ansible_roles/welcome.html.erb:6
537
- #: ../app/views/foreman_ansible/ansible_roles/_select_tab_title.html.erb:1
538
- msgid "Ansible Roles"
539
- msgstr "Ansible 角色"
540
-
541
- #: ../app/views/ansible_roles/index.html.erb:9
542
- msgid "Role|Name"
543
- msgstr "名称"
544
-
545
- #: ../app/views/ansible_roles/index.html.erb:10
546
- msgid "Hostgroups"
547
- msgstr "主机组"
548
-
549
- #: ../app/views/ansible_roles/index.html.erb:11
550
- msgid "Hosts"
551
- msgstr "主机"
552
-
553
- #: ../app/views/ansible_roles/index.html.erb:12
554
- msgid "Imported at"
555
- msgstr "导入于"
556
-
557
- #: ../app/views/ansible_roles/index.html.erb:13
558
- #: ../app/views/ansible_variables/index.html.erb:16
559
- msgid "Actions"
560
- msgstr "动作"
561
-
562
- #: ../app/views/ansible_roles/index.html.erb:27
563
- #: ../lib/foreman_ansible/register.rb:103
564
- msgid "Variables"
565
- msgstr "变量"
566
-
567
- #: ../app/views/ansible_roles/index.html.erb:33
568
- #: ../app/views/ansible_variables/index.html.erb:41
569
- msgid "Delete %s?"
570
- msgstr "删除 %s"
571
-
572
- #: ../app/views/ansible_roles/welcome.html.erb:7
573
- msgid ""
574
- "No ansible roles were found in Foreman. If you want to assign roles to your hosts,\n"
575
- " you have to import them first."
576
- msgstr ""
577
- "Foreman 中没有找到 Ansible 角色。如果要分配角色到您的主机,\n"
578
- " 您必须先导入它们。"
579
-
580
- #: ../app/views/ansible_roles/welcome.html.erb:10
581
- msgid "Learn more about this in the documentation."
582
- msgstr "了解更多本文档中的内容。"
583
-
584
- #: ../app/views/ansible_variables/_fields.erb:4
585
- msgid "Ansible Variable Details (Imported)"
586
- msgstr ""
587
-
588
- #: ../app/views/ansible_variables/_fields.erb:4
589
- msgid "Ansible Variable Details"
590
- msgstr ""
591
-
592
- #: ../app/views/ansible_variables/_fields.erb:11
593
- msgid "Default Behavior"
594
- msgstr "默认行为"
595
-
596
- #: ../app/views/ansible_variables/_fields.erb:12
597
- msgid "Override the default value of the Ansible variable."
598
- msgstr ""
599
-
600
- #: ../app/views/ansible_variables/_fields.erb:14
601
- msgid ""
602
- "Mark the variable to be managed by Foreman. When the Ansible role of this "
603
- "variable is assigned to a host, the default value will be added to Ansible "
604
- "inventory as a host variable. Specify matchers to set a different value for "
605
- "such variable."
606
- msgstr ""
607
-
608
- #: ../app/views/ansible_variables/_fields.erb:27
609
- msgid "Value to use when there is no match."
610
- msgstr "未发现匹配时使用的值。"
611
-
612
- #: ../app/views/ansible_variables/_fields.erb:30
613
- msgid "Hidden Value"
614
- msgstr "隐藏值"
615
-
616
- #: ../app/views/ansible_variables/_fields.erb:33
617
- msgid "Hide all values for this parameter."
618
- msgstr "隐藏这个参数的所有值。"
619
-
620
- #: ../app/views/ansible_variables/_fields.erb:39
621
- msgid "Optional Input Validator"
622
- msgstr "可选的输入验证程序"
623
-
624
- #: ../app/views/ansible_variables/_fields.erb:41
625
- msgid ""
626
- "Before including these variables on your playbooks, Foreman will validate "
627
- "that your variables comply with the validation."
628
- msgstr ""
629
-
630
- #: ../app/views/ansible_variables/_fields.erb:44
631
- msgid ""
632
- "If checked, will raise an error if there is no default value and no matcher "
633
- "provide a value."
634
- msgstr "检查后,如果没有默认值,且没有映射程序提供数值,则会创建出错信息。"
635
-
636
- #: ../app/views/ansible_variables/_fields.erb:53
637
- msgid "Prioritize Attribute Order"
638
- msgstr "排列属性优先顺序"
639
-
640
- #: ../app/views/ansible_variables/_fields.erb:54
641
- msgid "Set the order in which values are resolved."
642
- msgstr "设定用来解析值的顺序。"
643
-
644
- #: ../app/views/ansible_variables/_fields.erb:55
645
- msgid "Order"
646
- msgstr "顺序"
647
-
648
- #: ../app/views/ansible_variables/_fields.erb:56
649
- msgid ""
650
- "The order in which matchers keys are processed, first match wins.<br> You "
651
- "may use multiple attributes as a matcher key, for example, an order of "
652
- "<code>host group, environment</code> would expect a matcher such as "
653
- "<code>hostgroup = \"web servers\", environment = production</code>"
654
- msgstr ""
655
- "处理映射器密钥的指令,会采用第一个匹配的映射。<br>您可以使用多个属性作为映射器密钥,例如:一组 <code>host group, "
656
- "environment</code> 的映射器为 <code>hostgroup = \"web servers\", environment = "
657
- "production</code>。"
658
-
659
- #: ../app/views/ansible_variables/_fields.erb:59
660
- msgid ""
661
- "Continue to look for matches after first find (only array/hash type)? Note: "
662
- "merging overrides ignores all matchers that are omitted."
663
- msgstr "要在找到第一个匹配项后继续查找吗(仅阵列/散列类型)?注意:合并覆盖会忽略所有省略的映射器。"
664
-
665
- #: ../app/views/ansible_variables/_fields.erb:61
666
- msgid "Include default value when merging all matching values."
667
- msgstr "合并所有匹配值时包括默认值。"
668
-
669
- #: ../app/views/ansible_variables/_fields.erb:64
670
- msgid "Avoid duplicate values when merging them (only array type)?"
671
- msgstr "合并时是否避免重复值(只适用于阵列类型)?"
672
-
673
- #: ../app/views/ansible_variables/_fields.erb:68
674
- msgid "Specify Matchers"
675
- msgstr "指定匹配器"
676
-
677
- #: ../app/views/ansible_variables/edit.html.erb:4
678
- #: ../app/views/ansible_variables/index.html.erb:1
679
- #: ../app/views/ansible_variables/new.html.erb:4
680
- msgid "Ansible Variables"
681
- msgstr ""
682
-
683
- #: ../app/views/ansible_variables/edit.html.erb:8
684
- msgid "Edit %s"
685
- msgstr "编辑 %s"
686
-
687
- #: ../app/views/ansible_variables/edit.html.erb:13
688
- msgid "Edit Ansible Variable"
689
- msgstr ""
690
-
691
- #: ../app/views/ansible_variables/import.html.erb:1
692
- msgid "Changed Ansible variables"
693
- msgstr ""
694
-
695
- #: ../app/views/ansible_variables/import.html.erb:14
696
- msgid "Check/Uncheck update"
697
- msgstr ""
698
-
699
- #: ../app/views/ansible_variables/import.html.erb:25
700
- msgid "Ansible role"
701
- msgstr ""
702
-
703
- #: ../app/views/ansible_variables/index.html.erb:5
704
- msgid "New Ansible Variable"
705
- msgstr ""
706
-
707
- #: ../app/views/ansible_variables/index.html.erb:12
708
- msgid "Variable|Name"
709
- msgstr ""
710
-
711
- #: ../app/views/ansible_variables/index.html.erb:13
712
- msgid "Variable|Role"
713
- msgstr ""
714
-
715
- #: ../app/views/ansible_variables/index.html.erb:14
716
- msgid "Type"
717
- msgstr "类型"
718
-
719
- #: ../app/views/ansible_variables/index.html.erb:15
720
- msgid "Imported?"
721
- msgstr ""
722
-
723
- #: ../app/views/ansible_variables/index.html.erb:23
724
- msgid "Overriden"
725
- msgstr ""
726
-
727
- #: ../app/views/ansible_variables/new.html.erb:8
728
- #: ../app/views/ansible_variables/new.html.erb:13
729
- msgid "Create Ansible Variable"
730
- msgstr ""
731
-
732
- #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:5
733
- msgid "Play Roles"
734
- msgstr "扮演角色"
735
-
736
- #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:9
737
- msgid "Nest"
738
- msgstr "嵌套"
739
-
740
- #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:10
741
- msgid "Clone"
742
- msgstr "克隆"
743
-
744
- #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:7
745
- msgid "Level"
746
- msgstr "等级"
747
-
748
- #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:8
749
- msgid "Module"
750
- msgstr "模块"
751
-
752
- #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:9
753
- msgid "Arguments"
754
- msgstr "参数"
755
-
756
- #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:10
757
- msgid "Message"
758
- msgstr "消息"
759
-
760
- #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:23
761
- msgid "Nothing to show"
762
- msgstr "没有内容可显示"
763
-
764
- #: ../db/seeds.d/90_notification_blueprints.rb:5
765
- msgid "Jobs"
766
- msgstr "任务"
767
-
768
- #: ../db/seeds.d/90_notification_blueprints.rb:7
769
- msgid ""
770
- "Insights remediation on %{hosts_count} host(s) has finished successfully"
771
- msgstr "%{hosts_count} 个主机的 Insights 补救计划已成功完成"
772
-
773
- #: ../lib/foreman_ansible/register.rb:99
774
- msgid "Roles"
775
- msgstr "角色"
776
-
777
- #: ../lib/foreman_ansible/remote_execution.rb:20
778
- msgid "Run Ansible roles"
779
- msgstr "运行 Ansible 角色"
780
-
781
- #: ../lib/foreman_ansible/remote_execution.rb:21
782
- msgid ""
783
- "Runs an Ansible playbook which contains all the roles defined for a host"
784
- msgstr "运行 Ansible playbook,它包含为主机定义的所有角色"
785
-
786
- #: ../lib/foreman_ansible/remote_execution.rb:27
787
- msgid "Ansible: Run Insights maintenance plan"
788
- msgstr "Ansible:运行 Insights 维护计划"
789
-
790
- #: ../lib/foreman_ansible/remote_execution.rb:28
791
- msgid ""
792
- "Runs a given maintenance plan from Red Hat Access Insights given an ID."
793
- msgstr "运行给定 ID 的红帽 Access Insights 的给定维护计划。"
794
-
795
- #: action_names.rb:2
796
- msgid "Remote action:"
797
- msgstr "远程操作:"
798
-
799
- #: action_names.rb:3
800
- msgid "Import Puppet classes"
801
- msgstr "导入 Puppet 类"
802
-
803
- #: action_names.rb:4
804
- msgid "Import facts"
805
- msgstr "导入 fact"
806
-
807
- #: action_names.rb:5
808
- msgid "Action with sub plans"
809
- msgstr "带有子计划的操作"
810
-
811
- #: gemspec.rb:2
812
- msgid "Ansible support in Foreman"
813
- msgstr "Foreman 中的 Ansible 支持"