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