foreman_ansible 2.3.6 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ui_ansible_roles_controller.rb +14 -0
- data/app/helpers/foreman_ansible/ansible_roles_helper.rb +4 -0
- data/app/models/ansible_role.rb +1 -0
- data/app/models/foreman_ansible/ansible_provider.rb +6 -1
- data/app/models/setting/ansible.rb +10 -10
- data/app/services/foreman_ansible/inventory_creator.rb +26 -23
- data/app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb +13 -13
- data/app/views/ui_ansible_roles/index.json.rabl +3 -0
- data/app/views/ui_ansible_roles/main.json.rabl +3 -0
- data/app/views/ui_ansible_roles/show.json.rabl +3 -0
- data/config/routes.rb +2 -0
- data/db/migrate/20190328114657_remove_top_level_ansible_variables_setting.rb +6 -0
- data/lib/foreman_ansible/register.rb +3 -2
- data/lib/foreman_ansible/version.rb +1 -1
- data/locale/de/foreman_ansible.edit.po +90 -191
- data/locale/en/foreman_ansible.edit.po +90 -191
- data/locale/es/foreman_ansible.edit.po +90 -191
- data/locale/fr/foreman_ansible.edit.po +90 -191
- data/locale/it/foreman_ansible.edit.po +90 -191
- data/locale/ja/foreman_ansible.edit.po +90 -191
- data/locale/ko/foreman_ansible.edit.po +90 -191
- data/locale/pt_BR/foreman_ansible.edit.po +90 -191
- data/locale/ru/foreman_ansible.edit.po +90 -191
- data/locale/zh_CN/foreman_ansible.edit.po +90 -191
- data/locale/zh_TW/foreman_ansible.edit.po +90 -191
- data/package.json +50 -9
- data/test/factories/ansible_variables.rb +1 -0
- data/test/functional/ui_ansible_roles_controller_test.rb +14 -0
- data/test/unit/lib/foreman_ansible_core/playbook_runner_test.rb +11 -11
- data/test/unit/services/inventory_creator_test.rb +75 -24
- data/webpack/__mocks__/foremanReact/components/Pagination/PaginationWrapper.js +2 -0
- data/webpack/__mocks__/foremanReact/components/common/EmptyState.js +5 -0
- data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcher.js +140 -0
- data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcher.scss +45 -0
- data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcherActions.js +69 -0
- data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcherConstants.js +7 -0
- data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcherHelpers.js +7 -0
- data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcherReducer.js +69 -0
- data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcherSelectors.js +68 -0
- data/webpack/components/AnsibleRolesSwitcher/__fixtures__/ansibleRolesData.fixtures.js +20 -0
- data/webpack/components/AnsibleRolesSwitcher/__fixtures__/ansibleRolesSwitcherReducer.fixtures.js +36 -0
- data/webpack/components/AnsibleRolesSwitcher/__tests__/AnsibleRolesSwitcher.test.js +30 -0
- data/webpack/components/AnsibleRolesSwitcher/__tests__/AnsibleRolesSwitcherReducer.test.js +73 -0
- data/webpack/components/AnsibleRolesSwitcher/__tests__/AnsibleRolesSwitcherSelectors.test.js +43 -0
- data/webpack/components/AnsibleRolesSwitcher/__tests__/__snapshots__/AnsibleRolesSwitcher.test.js.snap +79 -0
- data/webpack/components/AnsibleRolesSwitcher/__tests__/__snapshots__/AnsibleRolesSwitcherReducer.test.js.snap +399 -0
- data/webpack/components/AnsibleRolesSwitcher/__tests__/__snapshots__/AnsibleRolesSwitcherSelectors.test.js.snap +60 -0
- data/webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js +33 -0
- data/webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.test.js +9 -0
- data/webpack/components/AnsibleRolesSwitcher/components/AnsibleRole.js +56 -0
- data/webpack/components/AnsibleRolesSwitcher/components/AnsibleRole.test.js +26 -0
- data/webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleActionButton.js +16 -0
- data/webpack/components/AnsibleRolesSwitcher/components/AnsibleRolesSwitcherError.js +32 -0
- data/webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.js +67 -0
- data/webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js +19 -0
- data/webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.js +52 -0
- data/webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js +22 -0
- data/webpack/components/AnsibleRolesSwitcher/components/__snapshots__/AnsiblePermissionDenied.test.js.snap +26 -0
- data/webpack/components/AnsibleRolesSwitcher/components/__snapshots__/AnsibleRole.test.js.snap +108 -0
- data/webpack/components/AnsibleRolesSwitcher/components/__snapshots__/AssignedRolesList.test.js.snap +64 -0
- data/webpack/components/AnsibleRolesSwitcher/components/__snapshots__/AvailableRolesList.test.js.snap +54 -0
- data/webpack/components/AnsibleRolesSwitcher/components/withProtectedView.js +14 -0
- data/webpack/components/AnsibleRolesSwitcher/index.js +44 -0
- data/webpack/components/ReportJsonViewer.js +11 -7
- data/webpack/index.js +14 -1
- data/webpack/reducer.js +7 -0
- data/webpack/test_setup.js +11 -0
- metadata +44 -2
@@ -30,19 +30,14 @@ msgstr ""
|
|
30
30
|
msgid "No changes in roles detected on %s."
|
31
31
|
msgstr ""
|
32
32
|
|
33
|
-
#: ../app/controllers/ansible_variables_controller.rb:
|
34
|
-
msgid "No changes in variables detected on %s."
|
35
|
-
msgstr ""
|
36
|
-
|
37
|
-
#: ../app/controllers/ansible_variables_controller.rb:49
|
33
|
+
#: ../app/controllers/ansible_variables_controller.rb:31
|
38
34
|
msgid ""
|
39
35
|
"Import of variables successfully finished.\n"
|
40
|
-
"Added: #{results[:added].
|
41
|
-
" Removed: #{results[:obsolete].
|
42
|
-
"Updated: #{results[:updated].count}"
|
36
|
+
"Added: #{results[:added].join(', ')} \n"
|
37
|
+
" Removed: #{results[:obsolete].join(', ')}"
|
43
38
|
msgstr ""
|
44
39
|
|
45
|
-
#: ../app/controllers/ansible_variables_controller.rb:
|
40
|
+
#: ../app/controllers/ansible_variables_controller.rb:75
|
46
41
|
msgid "No proxy found to import variables from, ensure that the smart proxy has the Ansible feature enabled."
|
47
42
|
msgstr ""
|
48
43
|
|
@@ -78,7 +73,7 @@ msgstr ""
|
|
78
73
|
msgid "Import Ansible roles"
|
79
74
|
msgstr ""
|
80
75
|
|
81
|
-
#: ../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:
|
76
|
+
#: ../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
|
82
77
|
msgid "Smart Proxy to import from"
|
83
78
|
msgstr ""
|
84
79
|
|
@@ -98,134 +93,114 @@ msgstr ""
|
|
98
93
|
msgid "Smart Proxy to fetch from"
|
99
94
|
msgstr ""
|
100
95
|
|
101
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
96
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:19
|
102
97
|
msgid "Show variable"
|
103
98
|
msgstr ""
|
104
99
|
|
105
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
100
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:23
|
106
101
|
msgid "List Ansible variables"
|
107
102
|
msgstr ""
|
108
103
|
|
109
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
104
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:29
|
110
105
|
msgid "Deletes Ansible variable"
|
111
106
|
msgstr ""
|
112
107
|
|
113
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
108
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:38
|
114
109
|
msgid "Name of variable"
|
115
110
|
msgstr ""
|
116
111
|
|
117
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
112
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:39
|
118
113
|
msgid "Role ID"
|
119
114
|
msgstr ""
|
120
115
|
|
121
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
116
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:40
|
122
117
|
msgid "Default value of variable"
|
123
118
|
msgstr ""
|
124
119
|
|
125
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
120
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:41
|
126
121
|
msgid "When enabled the parameter is hidden in the UI"
|
127
122
|
msgstr ""
|
128
123
|
|
129
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
124
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:42
|
130
125
|
msgid "The order in which values are resolved"
|
131
126
|
msgstr ""
|
132
127
|
|
133
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
128
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:43
|
134
129
|
msgid "Description of variable"
|
135
130
|
msgstr ""
|
136
131
|
|
137
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
132
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:44
|
138
133
|
msgid "Types of validation values"
|
139
134
|
msgstr ""
|
140
135
|
|
141
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
136
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:45
|
142
137
|
msgid "Used to enforce certain values for the parameter values"
|
143
138
|
msgstr ""
|
144
139
|
|
145
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
140
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:46
|
146
141
|
msgid "Types of variable values"
|
147
142
|
msgstr ""
|
148
143
|
|
149
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
144
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:47
|
150
145
|
msgid "Merge all matching values (only array/hash type)"
|
151
146
|
msgstr ""
|
152
147
|
|
153
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
148
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:48
|
154
149
|
msgid "Include default value when merging all matching values"
|
155
150
|
msgstr ""
|
156
151
|
|
157
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
152
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:49
|
158
153
|
msgid "Remove duplicate values (only array type)"
|
159
154
|
msgstr ""
|
160
155
|
|
161
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
162
|
-
msgid "Create Ansible variable"
|
163
|
-
msgstr ""
|
164
|
-
|
165
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:61
|
156
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:53
|
166
157
|
msgid "Updates Ansible variable"
|
167
158
|
msgstr ""
|
168
159
|
|
169
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
160
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:63
|
170
161
|
msgid "Import Ansible variables. This will only import variables for already existing roles, it will not import any new roles"
|
171
162
|
msgstr ""
|
172
163
|
|
173
|
-
#: ../app/controllers/api/v2/ansible_variables_controller.rb:
|
164
|
+
#: ../app/controllers/api/v2/ansible_variables_controller.rb:73
|
174
165
|
msgid "Obsolete Ansible variables. This will only obsolete variables for already existing roles, it will not delete any old roles"
|
175
166
|
msgstr ""
|
176
167
|
|
177
|
-
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:
|
168
|
+
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:17
|
178
169
|
msgid "Plays Ansible roles on a hostgroup"
|
179
170
|
msgstr ""
|
180
171
|
|
181
|
-
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:
|
172
|
+
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:27
|
182
173
|
msgid "Plays Ansible roles on hostgroups"
|
183
174
|
msgstr ""
|
184
175
|
|
185
|
-
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:
|
176
|
+
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:28
|
186
177
|
msgid "IDs of hostgroups to play roles on"
|
187
178
|
msgstr ""
|
188
179
|
|
189
|
-
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:
|
180
|
+
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:39
|
190
181
|
msgid "List all Ansible roles for a hostgroup"
|
191
182
|
msgstr ""
|
192
183
|
|
193
|
-
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:53
|
194
|
-
msgid "Assigns Ansible roles to a hostgroup"
|
195
|
-
msgstr ""
|
196
|
-
|
197
|
-
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:56
|
198
|
-
msgid "Ansible roles to assign to a hostgroup"
|
199
|
-
msgstr ""
|
200
|
-
|
201
184
|
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_param_group_extensions.rb:13 ../app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb:13
|
202
185
|
msgid "IDs of associated ansible roles"
|
203
186
|
msgstr ""
|
204
187
|
|
205
|
-
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:
|
188
|
+
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:22
|
206
189
|
msgid "Plays Ansible roles on a host"
|
207
190
|
msgstr ""
|
208
191
|
|
209
|
-
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:
|
192
|
+
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:31
|
210
193
|
msgid "Plays Ansible roles on hosts"
|
211
194
|
msgstr ""
|
212
195
|
|
213
|
-
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:
|
196
|
+
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:32
|
214
197
|
msgid "IDs of hosts to play roles on"
|
215
198
|
msgstr ""
|
216
199
|
|
217
|
-
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:
|
200
|
+
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:42
|
218
201
|
msgid "List all Ansible roles for a host"
|
219
202
|
msgstr ""
|
220
203
|
|
221
|
-
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:56
|
222
|
-
msgid "Assigns Ansible roles to a host"
|
223
|
-
msgstr ""
|
224
|
-
|
225
|
-
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:59
|
226
|
-
msgid "Ansible roles to assign to a host"
|
227
|
-
msgstr ""
|
228
|
-
|
229
204
|
#: ../app/controllers/foreman_ansible/concerns/hostgroups_controller_extensions.rb:27
|
230
205
|
msgid "Host group has no associated hosts"
|
231
206
|
msgstr ""
|
@@ -239,30 +214,30 @@ msgid "Could not run Ansible roles for %{host}"
|
|
239
214
|
msgstr ""
|
240
215
|
|
241
216
|
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:8
|
242
|
-
msgid "
|
217
|
+
msgid "From %s"
|
243
218
|
msgstr ""
|
244
219
|
|
245
|
-
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:
|
246
|
-
msgid "Ansible Role"
|
247
|
-
msgstr ""
|
248
|
-
|
249
|
-
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:29
|
220
|
+
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:15
|
250
221
|
msgid "Import"
|
251
222
|
msgstr ""
|
252
223
|
|
253
|
-
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:
|
224
|
+
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:21
|
254
225
|
msgid "%s ago"
|
255
226
|
msgstr ""
|
256
227
|
|
257
|
-
#: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:
|
228
|
+
#: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:23 ../app/lib/actions/foreman_ansible/helpers/host_common.rb:18
|
258
229
|
msgid "Play Ansible roles"
|
259
230
|
msgstr ""
|
260
231
|
|
232
|
+
#: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:42
|
233
|
+
msgid "Run Ansible roles"
|
234
|
+
msgstr ""
|
235
|
+
|
261
236
|
#: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:10
|
262
237
|
msgid "Playbook execution failed"
|
263
238
|
msgstr ""
|
264
239
|
|
265
|
-
#: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:30 ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:
|
240
|
+
#: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:30 ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:35
|
266
241
|
msgid "Error loading data from proxy"
|
267
242
|
msgstr ""
|
268
243
|
|
@@ -339,30 +314,30 @@ msgid "Post-provision timeout"
|
|
339
314
|
msgstr ""
|
340
315
|
|
341
316
|
#: ../app/models/setting/ansible.rb:71
|
342
|
-
msgid "
|
343
|
-
msgstr ""
|
344
|
-
|
345
|
-
#: ../app/models/setting/ansible.rb:73
|
346
|
-
msgid "Ansible report timeout"
|
317
|
+
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."
|
347
318
|
msgstr ""
|
348
319
|
|
349
320
|
#: ../app/models/setting/ansible.rb:77
|
350
|
-
msgid "
|
321
|
+
msgid "Top level Ansible variables"
|
351
322
|
msgstr ""
|
352
323
|
|
353
324
|
#: ../app/models/setting/ansible.rb:81
|
354
|
-
msgid "
|
325
|
+
msgid "Timeout (in minutes) when hosts should have reported."
|
355
326
|
msgstr ""
|
356
327
|
|
357
|
-
#: ../app/models/setting/ansible.rb:
|
358
|
-
msgid "
|
328
|
+
#: ../app/models/setting/ansible.rb:83
|
329
|
+
msgid "Ansible report timeout"
|
359
330
|
msgstr ""
|
360
331
|
|
361
|
-
#: ../app/models/setting/ansible.rb:
|
362
|
-
msgid "
|
332
|
+
#: ../app/models/setting/ansible.rb:87
|
333
|
+
msgid "Disable host configuration status turning to out of sync for %{cfgmgmt} after report does not arrive within configured interval"
|
334
|
+
msgstr ""
|
335
|
+
|
336
|
+
#: ../app/models/setting/ansible.rb:91
|
337
|
+
msgid "%{cfgmgmt} out of sync disabled"
|
363
338
|
msgstr ""
|
364
339
|
|
365
|
-
#: ../app/models/setting/ansible.rb:104 ../lib/foreman_ansible/register.rb:
|
340
|
+
#: ../app/models/setting/ansible.rb:104 ../lib/foreman_ansible/register.rb:73
|
366
341
|
msgid "Ansible"
|
367
342
|
msgstr ""
|
368
343
|
|
@@ -406,43 +381,43 @@ msgstr ""
|
|
406
381
|
msgid "Check/Uncheck obsolete"
|
407
382
|
msgstr ""
|
408
383
|
|
409
|
-
#: ../app/views/ansible_roles/import.html.erb:19 ../app/views/ansible_variables/import.html.erb:
|
384
|
+
#: ../app/views/ansible_roles/import.html.erb:19 ../app/views/ansible_variables/import.html.erb:19
|
410
385
|
msgid "Check/Uncheck all"
|
411
386
|
msgstr ""
|
412
387
|
|
413
|
-
#: ../app/views/ansible_roles/import.html.erb:21 ../app/views/ansible_variables/import.html.erb:
|
388
|
+
#: ../app/views/ansible_roles/import.html.erb:21 ../app/views/ansible_variables/import.html.erb:21
|
414
389
|
msgid "Name"
|
415
390
|
msgstr ""
|
416
391
|
|
417
|
-
#: ../app/views/ansible_roles/import.html.erb:22 ../app/views/ansible_variables/import.html.erb:
|
392
|
+
#: ../app/views/ansible_roles/import.html.erb:22 ../app/views/ansible_variables/import.html.erb:23
|
418
393
|
msgid "Hosts count"
|
419
394
|
msgstr ""
|
420
395
|
|
421
|
-
#: ../app/views/ansible_roles/import.html.erb:23 ../app/views/ansible_variables/import.html.erb:
|
396
|
+
#: ../app/views/ansible_roles/import.html.erb:23 ../app/views/ansible_variables/import.html.erb:24
|
422
397
|
msgid "Hostgroups count"
|
423
398
|
msgstr ""
|
424
399
|
|
425
|
-
#: ../app/views/ansible_roles/import.html.erb:24 ../app/views/ansible_variables/import.html.erb:
|
400
|
+
#: ../app/views/ansible_roles/import.html.erb:24 ../app/views/ansible_variables/import.html.erb:25
|
426
401
|
msgid "Operation"
|
427
402
|
msgstr ""
|
428
403
|
|
429
|
-
#: ../app/views/ansible_roles/import.html.erb:35 ../app/views/ansible_variables/import.html.erb:
|
404
|
+
#: ../app/views/ansible_roles/import.html.erb:35 ../app/views/ansible_variables/import.html.erb:36
|
430
405
|
msgid "Check/Uncheck all %s changes"
|
431
406
|
msgstr ""
|
432
407
|
|
433
|
-
#: ../app/views/ansible_roles/import.html.erb:40 ../app/views/ansible_variables/import.html.erb:
|
408
|
+
#: ../app/views/ansible_roles/import.html.erb:40 ../app/views/ansible_variables/import.html.erb:42
|
434
409
|
msgid "Add"
|
435
410
|
msgstr ""
|
436
411
|
|
437
|
-
#: ../app/views/ansible_roles/import.html.erb:40 ../app/views/ansible_variables/import.html.erb:
|
412
|
+
#: ../app/views/ansible_roles/import.html.erb:40 ../app/views/ansible_variables/import.html.erb:42
|
438
413
|
msgid "Remove"
|
439
414
|
msgstr ""
|
440
415
|
|
441
|
-
#: ../app/views/ansible_roles/import.html.erb:48 ../app/views/ansible_variables/import.html.erb:
|
416
|
+
#: ../app/views/ansible_roles/import.html.erb:48 ../app/views/ansible_variables/import.html.erb:50
|
442
417
|
msgid "Cancel"
|
443
418
|
msgstr ""
|
444
419
|
|
445
|
-
#: ../app/views/ansible_roles/import.html.erb:49 ../app/views/ansible_variables/import.html.erb:
|
420
|
+
#: ../app/views/ansible_roles/import.html.erb:49 ../app/views/ansible_variables/import.html.erb:51
|
446
421
|
msgid "Update"
|
447
422
|
msgstr ""
|
448
423
|
|
@@ -466,15 +441,15 @@ msgstr ""
|
|
466
441
|
msgid "Imported at"
|
467
442
|
msgstr ""
|
468
443
|
|
469
|
-
#: ../app/views/ansible_roles/index.html.erb:13 ../app/views/ansible_variables/index.html.erb:
|
444
|
+
#: ../app/views/ansible_roles/index.html.erb:13 ../app/views/ansible_variables/index.html.erb:12
|
470
445
|
msgid "Actions"
|
471
446
|
msgstr ""
|
472
447
|
|
473
|
-
#: ../app/views/ansible_roles/index.html.erb:27 ../lib/foreman_ansible/register.rb:
|
448
|
+
#: ../app/views/ansible_roles/index.html.erb:27 ../lib/foreman_ansible/register.rb:79
|
474
449
|
msgid "Variables"
|
475
450
|
msgstr ""
|
476
451
|
|
477
|
-
#: ../app/views/ansible_roles/index.html.erb:33 ../app/views/ansible_variables/index.html.erb:
|
452
|
+
#: ../app/views/ansible_roles/index.html.erb:33 ../app/views/ansible_variables/index.html.erb:36
|
478
453
|
msgid "Delete %s?"
|
479
454
|
msgstr ""
|
480
455
|
|
@@ -488,83 +463,19 @@ msgstr ""
|
|
488
463
|
msgid "Learn more about this in the documentation."
|
489
464
|
msgstr ""
|
490
465
|
|
491
|
-
#: ../app/views/ansible_variables/
|
492
|
-
msgid "Ansible
|
493
|
-
msgstr ""
|
494
|
-
|
495
|
-
#: ../app/views/ansible_variables/_fields.erb:4
|
496
|
-
msgid "Ansible Variable Details"
|
497
|
-
msgstr ""
|
498
|
-
|
499
|
-
#: ../app/views/ansible_variables/_fields.erb:11
|
500
|
-
msgid "Default Behavior"
|
501
|
-
msgstr ""
|
502
|
-
|
503
|
-
#: ../app/views/ansible_variables/_fields.erb:12
|
504
|
-
msgid "Override the default value of the Ansible variable."
|
505
|
-
msgstr ""
|
506
|
-
|
507
|
-
#: ../app/views/ansible_variables/_fields.erb:14
|
508
|
-
msgid "Mark the variable to be managed by Foreman. When the Ansible role of this variable is assigned to a host, the default value will be added to Ansible inventory as a host variable. Specify matchers to set a different value for such variable."
|
509
|
-
msgstr ""
|
510
|
-
|
511
|
-
#: ../app/views/ansible_variables/_fields.erb:27
|
512
|
-
msgid "Value to use when there is no match."
|
513
|
-
msgstr ""
|
514
|
-
|
515
|
-
#: ../app/views/ansible_variables/_fields.erb:30
|
516
|
-
msgid "Hidden Value"
|
517
|
-
msgstr ""
|
518
|
-
|
519
|
-
#: ../app/views/ansible_variables/_fields.erb:33
|
520
|
-
msgid "Hide all values for this parameter."
|
521
|
-
msgstr ""
|
522
|
-
|
523
|
-
#: ../app/views/ansible_variables/_fields.erb:39
|
524
|
-
msgid "Optional Input Validator"
|
466
|
+
#: ../app/views/ansible_variables/_ansible_roles_list.html.erb:10
|
467
|
+
msgid "Ansible Role"
|
525
468
|
msgstr ""
|
526
469
|
|
527
|
-
#: ../app/views/ansible_variables/
|
470
|
+
#: ../app/views/ansible_variables/_validator_text.html.erb:2
|
528
471
|
msgid "Before including these variables on your playbooks, Foreman will validate that your variables comply with the validation."
|
529
472
|
msgstr ""
|
530
473
|
|
531
|
-
#: ../app/views/ansible_variables/
|
532
|
-
msgid "If
|
533
|
-
msgstr ""
|
534
|
-
|
535
|
-
#: ../app/views/ansible_variables/_fields.erb:53
|
536
|
-
msgid "Prioritize Attribute Order"
|
537
|
-
msgstr ""
|
538
|
-
|
539
|
-
#: ../app/views/ansible_variables/_fields.erb:54
|
540
|
-
msgid "Set the order in which values are resolved."
|
541
|
-
msgstr ""
|
542
|
-
|
543
|
-
#: ../app/views/ansible_variables/_fields.erb:55
|
544
|
-
msgid "Order"
|
545
|
-
msgstr ""
|
546
|
-
|
547
|
-
#: ../app/views/ansible_variables/_fields.erb:56
|
548
|
-
msgid "The order in which matchers keys are processed, first match wins.<br> You may use multiple attributes as a matcher key, for example, an order of <code>host group, environment</code> would expect a matcher such as <code>hostgroup = \"web servers\", environment = production</code>"
|
549
|
-
msgstr ""
|
550
|
-
|
551
|
-
#: ../app/views/ansible_variables/_fields.erb:59
|
552
|
-
msgid "Continue to look for matches after first find (only array/hash type)? Note: merging overrides ignores all matchers that are omitted."
|
553
|
-
msgstr ""
|
554
|
-
|
555
|
-
#: ../app/views/ansible_variables/_fields.erb:61
|
556
|
-
msgid "Include default value when merging all matching values."
|
474
|
+
#: ../app/views/ansible_variables/_validator_text.html.erb:4
|
475
|
+
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."
|
557
476
|
msgstr ""
|
558
477
|
|
559
|
-
#: ../app/views/ansible_variables/
|
560
|
-
msgid "Avoid duplicate values when merging them (only array type)?"
|
561
|
-
msgstr ""
|
562
|
-
|
563
|
-
#: ../app/views/ansible_variables/_fields.erb:68
|
564
|
-
msgid "Specify Matchers"
|
565
|
-
msgstr ""
|
566
|
-
|
567
|
-
#: ../app/views/ansible_variables/edit.html.erb:4 ../app/views/ansible_variables/index.html.erb:1 ../app/views/ansible_variables/new.html.erb:4
|
478
|
+
#: ../app/views/ansible_variables/edit.html.erb:4 ../app/views/ansible_variables/index.html.erb:1
|
568
479
|
msgid "Ansible Variables"
|
569
480
|
msgstr ""
|
570
481
|
|
@@ -580,42 +491,22 @@ msgstr ""
|
|
580
491
|
msgid "Changed Ansible variables"
|
581
492
|
msgstr ""
|
582
493
|
|
583
|
-
#: ../app/views/ansible_variables/import.html.erb:
|
584
|
-
msgid "Check/Uncheck update"
|
585
|
-
msgstr ""
|
586
|
-
|
587
|
-
#: ../app/views/ansible_variables/import.html.erb:25
|
494
|
+
#: ../app/views/ansible_variables/import.html.erb:22
|
588
495
|
msgid "Ansible role"
|
589
496
|
msgstr ""
|
590
497
|
|
591
|
-
#: ../app/views/ansible_variables/index.html.erb:
|
592
|
-
msgid "New Ansible Variable"
|
593
|
-
msgstr ""
|
594
|
-
|
595
|
-
#: ../app/views/ansible_variables/index.html.erb:12
|
498
|
+
#: ../app/views/ansible_variables/index.html.erb:9
|
596
499
|
msgid "Variable|Name"
|
597
500
|
msgstr ""
|
598
501
|
|
599
|
-
#: ../app/views/ansible_variables/index.html.erb:
|
502
|
+
#: ../app/views/ansible_variables/index.html.erb:10
|
600
503
|
msgid "Variable|Role"
|
601
504
|
msgstr ""
|
602
505
|
|
603
|
-
#: ../app/views/ansible_variables/index.html.erb:
|
506
|
+
#: ../app/views/ansible_variables/index.html.erb:11
|
604
507
|
msgid "Type"
|
605
508
|
msgstr ""
|
606
509
|
|
607
|
-
#: ../app/views/ansible_variables/index.html.erb:15
|
608
|
-
msgid "Imported?"
|
609
|
-
msgstr ""
|
610
|
-
|
611
|
-
#: ../app/views/ansible_variables/index.html.erb:23
|
612
|
-
msgid "Overriden"
|
613
|
-
msgstr ""
|
614
|
-
|
615
|
-
#: ../app/views/ansible_variables/new.html.erb:8 ../app/views/ansible_variables/new.html.erb:13
|
616
|
-
msgid "Create Ansible Variable"
|
617
|
-
msgstr ""
|
618
|
-
|
619
510
|
#: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:5
|
620
511
|
msgid "Play Roles"
|
621
512
|
msgstr ""
|
@@ -628,6 +519,14 @@ msgstr ""
|
|
628
519
|
msgid "Clone"
|
629
520
|
msgstr ""
|
630
521
|
|
522
|
+
#: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:9
|
523
|
+
msgid "Available roles"
|
524
|
+
msgstr ""
|
525
|
+
|
526
|
+
#: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:10
|
527
|
+
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 "
|
528
|
+
msgstr ""
|
529
|
+
|
631
530
|
#: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:7
|
632
531
|
msgid "Level"
|
633
532
|
msgstr ""
|
@@ -656,32 +555,32 @@ msgstr ""
|
|
656
555
|
msgid "Insights remediation on %{hosts_count} host(s) has finished successfully"
|
657
556
|
msgstr ""
|
658
557
|
|
659
|
-
#: ../lib/foreman_ansible/register.rb:
|
558
|
+
#: ../lib/foreman_ansible/register.rb:75
|
660
559
|
msgid "Roles"
|
661
560
|
msgstr ""
|
662
561
|
|
663
562
|
#: ../lib/foreman_ansible/remote_execution.rb:20
|
664
|
-
msgid "Run
|
563
|
+
msgid "Ansible: Run host roles"
|
665
564
|
msgstr ""
|
666
565
|
|
667
566
|
#: ../lib/foreman_ansible/remote_execution.rb:21
|
668
567
|
msgid "Runs an Ansible playbook which contains all the roles defined for a host"
|
669
568
|
msgstr ""
|
670
569
|
|
671
|
-
#: ../lib/foreman_ansible/remote_execution.rb:
|
570
|
+
#: ../lib/foreman_ansible/remote_execution.rb:26
|
672
571
|
msgid "Ansible: Run Insights maintenance plan"
|
673
572
|
msgstr ""
|
674
573
|
|
675
|
-
#: ../lib/foreman_ansible/remote_execution.rb:
|
574
|
+
#: ../lib/foreman_ansible/remote_execution.rb:27
|
676
575
|
msgid "Runs a given maintenance plan from Red Hat Access Insights given an ID."
|
677
576
|
msgstr ""
|
678
577
|
|
679
578
|
#: action_names.rb:2
|
680
|
-
msgid "
|
579
|
+
msgid "Remote action:"
|
681
580
|
msgstr ""
|
682
581
|
|
683
582
|
#: action_names.rb:3
|
684
|
-
msgid "
|
583
|
+
msgid "Import facts"
|
685
584
|
msgstr ""
|
686
585
|
|
687
586
|
#: action_names.rb:4
|
@@ -689,7 +588,7 @@ msgid "Import Puppet classes"
|
|
689
588
|
msgstr ""
|
690
589
|
|
691
590
|
#: action_names.rb:5
|
692
|
-
msgid "
|
591
|
+
msgid "Action with sub plans"
|
693
592
|
msgstr ""
|
694
593
|
|
695
594
|
#: gemspec.rb:2
|