foreman_ansible 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/app/controllers/api/v2/ansible_override_values_controller.rb +53 -0
  4. data/app/controllers/api/v2/ansible_roles_controller.rb +2 -1
  5. data/app/controllers/api/v2/ansible_variables_controller.rb +32 -4
  6. data/app/controllers/concerns/foreman/controller/parameters/ansible_override_value.rb +36 -0
  7. data/app/models/concerns/foreman_ansible/host_managed_extensions.rb +56 -37
  8. data/app/services/foreman_ansible/inventory_creator.rb +10 -5
  9. data/app/services/foreman_ansible/operating_system_parser.rb +10 -0
  10. data/app/services/foreman_ansible/roles_importer.rb +1 -2
  11. data/app/views/ansible_variables/index.html.erb +1 -1
  12. data/app/views/api/v2/ansible_override_values/show.json.rabl +3 -0
  13. data/app/views/api/v2/ansible_variables/destroy.json.rabl +3 -0
  14. data/app/views/api/v2/ansible_variables/show.json.rabl +5 -4
  15. data/config/routes.rb +3 -1
  16. data/lib/foreman_ansible/engine.rb +2 -2
  17. data/lib/foreman_ansible/version.rb +1 -1
  18. data/locale/action_names.rb +3 -3
  19. data/locale/de/foreman_ansible.edit.po +238 -87
  20. data/locale/de/foreman_ansible.po +77 -2
  21. data/locale/en/foreman_ansible.edit.po +238 -87
  22. data/locale/en/foreman_ansible.po +77 -2
  23. data/locale/es/foreman_ansible.edit.po +238 -87
  24. data/locale/es/foreman_ansible.po +77 -2
  25. data/locale/foreman_ansible.pot +126 -24
  26. data/locale/fr/foreman_ansible.edit.po +238 -87
  27. data/locale/fr/foreman_ansible.po +77 -2
  28. data/locale/it/foreman_ansible.edit.po +238 -87
  29. data/locale/it/foreman_ansible.po +77 -2
  30. data/locale/ja/foreman_ansible.edit.po +238 -87
  31. data/locale/ja/foreman_ansible.po +77 -2
  32. data/locale/ko/foreman_ansible.edit.po +238 -87
  33. data/locale/ko/foreman_ansible.po +77 -2
  34. data/locale/pt_BR/foreman_ansible.edit.po +238 -87
  35. data/locale/pt_BR/foreman_ansible.po +77 -2
  36. data/locale/ru/foreman_ansible.edit.po +238 -87
  37. data/locale/ru/foreman_ansible.po +77 -2
  38. data/locale/zh_CN/foreman_ansible.edit.po +238 -87
  39. data/locale/zh_CN/foreman_ansible.po +77 -2
  40. data/locale/zh_TW/foreman_ansible.edit.po +238 -87
  41. data/locale/zh_TW/foreman_ansible.po +77 -2
  42. data/test/functional/api/v2/ansible_roles_controller_test.rb +8 -7
  43. data/test/unit/services/fact_parser_test.rb +7 -3
  44. data/test/unit/services/inventory_creator_test.rb +15 -1
  45. metadata +8 -4
@@ -5,7 +5,7 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_ansible 2.2.6\n"
8
+ "Project-Id-Version: foreman_ansible 2.3.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2018-03-12 12:24-0400\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -50,6 +50,9 @@ msgstr ""
50
50
  msgid "Ansible role"
51
51
  msgstr ""
52
52
 
53
+ msgid "Ansible role names to import"
54
+ msgstr ""
55
+
53
56
  msgid "Ansible support in Foreman"
54
57
  msgstr ""
55
58
 
@@ -98,6 +101,12 @@ msgstr ""
98
101
  msgid "Could not run Ansible roles for %{host}"
99
102
  msgstr ""
100
103
 
104
+ msgid "Create an override value for a specific ansible variable"
105
+ msgstr ""
106
+
107
+ msgid "Default value of variable"
108
+ msgstr ""
109
+
101
110
  msgid "Default verbosity level"
102
111
  msgstr ""
103
112
 
@@ -110,6 +119,12 @@ msgstr ""
110
119
  msgid "Deletes Ansible variable"
111
120
  msgstr ""
112
121
 
122
+ msgid "Description of variable"
123
+ msgstr ""
124
+
125
+ msgid "Destroy an override value"
126
+ msgstr ""
127
+
113
128
  msgid "Disable host configuration status turning to out of sync for %{cfgmgmt} after report does not arrive within configured interval"
114
129
  msgstr ""
115
130
 
@@ -128,6 +143,9 @@ msgstr ""
128
143
  msgid "Error loading data from proxy"
129
144
  msgstr ""
130
145
 
146
+ msgid "Fetch Ansible roles available to be imported"
147
+ msgstr ""
148
+
131
149
  msgid "Foreman"
132
150
  msgstr ""
133
151
 
@@ -155,6 +173,12 @@ msgstr ""
155
173
  msgid "IDs of associated ansible roles"
156
174
  msgstr ""
157
175
 
176
+ msgid "IDs of hostgroups to play roles on"
177
+ msgstr ""
178
+
179
+ msgid "IDs of hosts to play roles on"
180
+ msgstr ""
181
+
158
182
  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."
159
183
  msgstr ""
160
184
 
@@ -185,6 +209,9 @@ msgstr ""
185
209
  msgid "Imported at"
186
210
  msgstr ""
187
211
 
212
+ msgid "Include default value when merging all matching values"
213
+ msgstr ""
214
+
188
215
  msgid "Insights remediation on %{hosts_count} host(s) has finished successfully"
189
216
  msgstr ""
190
217
 
@@ -218,6 +245,15 @@ msgstr ""
218
245
  msgid "List Ansible variables"
219
246
  msgstr ""
220
247
 
248
+ msgid "List all Ansible roles for a host"
249
+ msgstr ""
250
+
251
+ msgid "List all Ansible roles for a hostgroup"
252
+ msgstr ""
253
+
254
+ msgid "Merge all matching values (only array/hash type)"
255
+ msgstr ""
256
+
221
257
  msgid "Message"
222
258
  msgstr ""
223
259
 
@@ -227,6 +263,9 @@ msgstr ""
227
263
  msgid "Name"
228
264
  msgstr ""
229
265
 
266
+ msgid "Name of variable"
267
+ msgstr ""
268
+
230
269
  msgid "Nest"
231
270
  msgstr ""
232
271
 
@@ -262,6 +301,12 @@ msgstr ""
262
301
  msgid "Operation"
263
302
  msgstr ""
264
303
 
304
+ msgid "Override match"
305
+ msgstr ""
306
+
307
+ msgid "Override value, required if omit is false"
308
+ msgstr ""
309
+
265
310
  msgid "Play Ansible roles"
266
311
  msgstr ""
267
312
 
@@ -301,6 +346,12 @@ msgstr ""
301
346
  msgid "Remove"
302
347
  msgstr ""
303
348
 
349
+ msgid "Remove duplicate values (only array type)"
350
+ msgstr ""
351
+
352
+ msgid "Role ID"
353
+ msgstr ""
354
+
304
355
  msgid "Roles"
305
356
  msgstr ""
306
357
 
@@ -325,9 +376,18 @@ msgstr ""
325
376
  msgid "Show variable"
326
377
  msgstr ""
327
378
 
379
+ msgid "Smart Proxy to fetch from"
380
+ msgstr ""
381
+
328
382
  msgid "Smart Proxy to import from"
329
383
  msgstr ""
330
384
 
385
+ msgid "The order in which values are resolved"
386
+ msgstr ""
387
+
388
+ msgid "There are no Ansible roles to play"
389
+ msgstr ""
390
+
331
391
  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 "
332
392
  msgstr ""
333
393
 
@@ -346,6 +406,12 @@ msgstr ""
346
406
  msgid "Type"
347
407
  msgstr ""
348
408
 
409
+ msgid "Types of validation values"
410
+ msgstr ""
411
+
412
+ msgid "Types of variable values"
413
+ msgstr ""
414
+
349
415
  msgid "Unable to get roles from Ansible"
350
416
  msgstr ""
351
417
 
@@ -355,12 +421,18 @@ msgstr ""
355
421
  msgid "Update"
356
422
  msgstr ""
357
423
 
424
+ msgid "Updates Ansible variable"
425
+ msgstr ""
426
+
358
427
  msgid "Use this connection type by default when running Ansible playbooks. You can override this on hosts by adding a parameter \"ansible_connection\""
359
428
  msgstr ""
360
429
 
361
430
  msgid "Use this to supply a path to an SSH Private Key that Ansible will use in lieu of a password Override with \"ansible_ssh_private_key_file\" host parameter"
362
431
  msgstr ""
363
432
 
433
+ msgid "Used to enforce certain values for the parameter values"
434
+ msgstr ""
435
+
364
436
  msgid "Variables"
365
437
  msgstr ""
366
438
 
@@ -370,7 +442,10 @@ msgstr ""
370
442
  msgid "Variable|Role"
371
443
  msgstr ""
372
444
 
373
- 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 throughforeman_params[\"host_parameter\"] in the playbooks."
445
+ msgid "When enabled the parameter is hidden in the UI"
446
+ msgstr ""
447
+
448
+ 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."
374
449
  msgstr ""
375
450
 
376
451
  msgid "WinRM cert Validation"
@@ -4,7 +4,7 @@
4
4
  #
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: foreman_ansible 2.2.9\n"
7
+ "Project-Id-Version: foreman_ansible 2.3.0\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
9
  "PO-Revision-Date: 2014-08-20 08:54+0100\n"
10
10
  "Last-Translator: Foreman Team <foreman-dev@googlegroups.com>\n"
@@ -15,235 +15,338 @@ msgstr ""
15
15
  "Content-Transfer-Encoding: 8bit\n"
16
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
17
 
18
- #: ../app/controllers/ansible_roles_controller.rb:37
18
+ #: ../app/controllers/ansible_roles_controller.rb:35
19
19
  msgid "Import of roles successfully finished."
20
20
  msgstr ""
21
21
 
22
- #: ../app/controllers/ansible_roles_controller.rb:57
22
+ #: ../app/controllers/ansible_roles_controller.rb:50
23
23
  msgid "No changes in roles detected."
24
24
  msgstr ""
25
25
 
26
- #: ../app/controllers/ansible_roles_controller.rb:58
26
+ #: ../app/controllers/ansible_roles_controller.rb:51
27
27
  msgid "No changes in roles detected on %s."
28
28
  msgstr ""
29
29
 
30
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:16
30
+ #: ../app/controllers/ansible_variables_controller.rb:31
31
+ msgid ""
32
+ "Import of variables successfully finished.\n"
33
+ "Added: #{results[:added].join(', ')} \n"
34
+ " Removed: #{results[:obsolete].join(', ')}"
35
+ msgstr ""
36
+
37
+ #: ../app/controllers/ansible_variables_controller.rb:75
38
+ msgid "No proxy found to import variables from, ensure that the smart proxy has the Ansible feature enabled."
39
+ msgstr ""
40
+
41
+ #: ../app/controllers/api/v2/ansible_override_values_controller.rb:17
42
+ msgid "Override match"
43
+ msgstr ""
44
+
45
+ #: ../app/controllers/api/v2/ansible_override_values_controller.rb:18
46
+ msgid "Override value, required if omit is false"
47
+ msgstr ""
48
+
49
+ #: ../app/controllers/api/v2/ansible_override_values_controller.rb:22
50
+ msgid "Create an override value for a specific ansible variable"
51
+ msgstr ""
52
+
53
+ #: ../app/controllers/api/v2/ansible_override_values_controller.rb:34
54
+ msgid "Destroy an override value"
55
+ msgstr ""
56
+
57
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:18
31
58
  msgid "Show role"
32
59
  msgstr ""
33
60
 
34
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:20
61
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:22
35
62
  msgid "List Ansible roles"
36
63
  msgstr ""
37
64
 
38
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:26
65
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:28
39
66
  msgid "Deletes Ansible role"
40
67
  msgstr ""
41
68
 
42
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:32
69
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:34
43
70
  msgid "Import Ansible roles"
44
71
  msgstr ""
45
72
 
46
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:33 ../app/controllers/api/v2/ansible_roles_controller.rb:40
73
+ #: ../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
47
74
  msgid "Smart Proxy to import from"
48
75
  msgstr ""
49
76
 
50
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:34
77
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:36
51
78
  msgid "Ansible role names to import"
52
79
  msgstr ""
53
80
 
54
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:39
81
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:41
55
82
  msgid "Obsolete Ansible roles"
56
83
  msgstr ""
57
84
 
58
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:46
85
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:48
59
86
  msgid "Fetch Ansible roles available to be imported"
60
87
  msgstr ""
61
88
 
62
- #: ../app/controllers/api/v2/ansible_roles_controller.rb:47
89
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:49
63
90
  msgid "Smart Proxy to fetch from"
64
91
  msgstr ""
65
92
 
66
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:15
93
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:19
94
+ msgid "Show variable"
95
+ msgstr ""
96
+
97
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:23
98
+ msgid "List Ansible variables"
99
+ msgstr ""
100
+
101
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:29
102
+ msgid "Deletes Ansible variable"
103
+ msgstr ""
104
+
105
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:38
106
+ msgid "Name of variable"
107
+ msgstr ""
108
+
109
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:39
110
+ msgid "Role ID"
111
+ msgstr ""
112
+
113
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:40
114
+ msgid "Default value of variable"
115
+ msgstr ""
116
+
117
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:41
118
+ msgid "When enabled the parameter is hidden in the UI"
119
+ msgstr ""
120
+
121
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:42
122
+ msgid "The order in which values are resolved"
123
+ msgstr ""
124
+
125
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:43
126
+ msgid "Description of variable"
127
+ msgstr ""
128
+
129
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:44
130
+ msgid "Types of validation values"
131
+ msgstr ""
132
+
133
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:45
134
+ msgid "Used to enforce certain values for the parameter values"
135
+ msgstr ""
136
+
137
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:46
138
+ msgid "Types of variable values"
139
+ msgstr ""
140
+
141
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:47
142
+ msgid "Merge all matching values (only array/hash type)"
143
+ msgstr ""
144
+
145
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:48
146
+ msgid "Include default value when merging all matching values"
147
+ msgstr ""
148
+
149
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:49
150
+ msgid "Remove duplicate values (only array type)"
151
+ msgstr ""
152
+
153
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:53
154
+ msgid "Updates Ansible variable"
155
+ msgstr ""
156
+
157
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:63
158
+ msgid "Import Ansible variables. This will only import variables for already existing roles, it will not import any new roles"
159
+ msgstr ""
160
+
161
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:73
162
+ msgid "Obsolete Ansible variables. This will only obsolete variables for already existing roles, it will not delete any old roles"
163
+ msgstr ""
164
+
165
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:17
67
166
  msgid "Plays Ansible roles on a hostgroup"
68
167
  msgstr ""
69
168
 
70
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:25
169
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:27
71
170
  msgid "Plays Ansible roles on hostgroups"
72
171
  msgstr ""
73
172
 
74
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:26
173
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:28
75
174
  msgid "IDs of hostgroups to play roles on"
76
175
  msgstr ""
77
176
 
78
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:37
177
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:39
79
178
  msgid "List all Ansible roles for a hostgroup"
80
179
  msgstr ""
81
180
 
82
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_param_group_extensions.rb:11 ../app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb:11
181
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_param_group_extensions.rb:13 ../app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb:13
83
182
  msgid "IDs of associated ansible roles"
84
183
  msgstr ""
85
184
 
86
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:20
185
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:22
87
186
  msgid "Plays Ansible roles on a host"
88
187
  msgstr ""
89
188
 
90
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:29
189
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:31
91
190
  msgid "Plays Ansible roles on hosts"
92
191
  msgstr ""
93
192
 
94
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:30
193
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:32
95
194
  msgid "IDs of hosts to play roles on"
96
195
  msgstr ""
97
196
 
98
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:40
197
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:42
99
198
  msgid "List all Ansible roles for a host"
100
199
  msgstr ""
101
200
 
102
- #: ../app/controllers/foreman_ansible/concerns/hostgroups_controller_extensions.rb:25
201
+ #: ../app/controllers/foreman_ansible/concerns/hostgroups_controller_extensions.rb:27
103
202
  msgid "Host group has no associated hosts"
104
203
  msgstr ""
105
204
 
106
- #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:11
205
+ #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:13
107
206
  msgid "There are no Ansible roles to play"
108
207
  msgstr ""
109
208
 
110
- #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:13
209
+ #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:15
111
210
  msgid "Could not run Ansible roles for %{host}"
112
211
  msgstr ""
113
212
 
114
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:6
213
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:8
115
214
  msgid "From %s"
116
215
  msgstr ""
117
216
 
118
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:13
217
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:15
119
218
  msgid "Import"
120
219
  msgstr ""
121
220
 
122
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:19
221
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:21
123
222
  msgid "%s ago"
124
223
  msgstr ""
125
224
 
126
- #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:21 ../app/lib/actions/foreman_ansible/helpers/host_common.rb:16
225
+ #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:23 ../app/lib/actions/foreman_ansible/helpers/host_common.rb:18
127
226
  msgid "Play Ansible roles"
128
227
  msgstr ""
129
228
 
130
- #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:40
229
+ #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:42
131
230
  msgid "Run Ansible roles"
132
231
  msgstr ""
133
232
 
134
- #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:8
233
+ #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:10
135
234
  msgid "Playbook execution failed"
136
235
  msgstr ""
137
236
 
138
- #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:28 ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:31
237
+ #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:30 ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:35
139
238
  msgid "Error loading data from proxy"
140
239
  msgstr ""
141
240
 
142
- #: ../app/lib/actions/foreman_ansible/helpers/play_roles_description.rb:11
241
+ #: ../app/lib/actions/foreman_ansible/helpers/play_roles_description.rb:13
143
242
  msgid "Foreman"
144
243
  msgstr ""
145
244
 
146
- #: ../app/lib/proxy_api/ansible.rb:25
245
+ #: ../app/lib/proxy_api/ansible.rb:27
147
246
  msgid "Unable to get roles from Ansible"
148
247
  msgstr ""
149
248
 
150
- #: ../app/models/setting/ansible.rb:18
249
+ #: ../app/lib/proxy_api/ansible.rb:34 ../app/lib/proxy_api/ansible.rb:41
250
+ msgid "Unable to get roles/variables from Ansible"
251
+ msgstr ""
252
+
253
+ #: ../app/models/setting/ansible.rb:20
151
254
  msgid "Use this to supply a path to an SSH Private Key that Ansible will use in lieu of a password Override with \"ansible_ssh_private_key_file\" host parameter"
152
255
  msgstr ""
153
256
 
154
- #: ../app/models/setting/ansible.rb:23
257
+ #: ../app/models/setting/ansible.rb:25
155
258
  msgid "Private Key Path"
156
259
  msgstr ""
157
260
 
158
- #: ../app/models/setting/ansible.rb:27
261
+ #: ../app/models/setting/ansible.rb:29
159
262
  msgid "Use this connection type by default when running Ansible playbooks. You can override this on hosts by adding a parameter \"ansible_connection\""
160
263
  msgstr ""
161
264
 
162
- #: ../app/models/setting/ansible.rb:31
265
+ #: ../app/models/setting/ansible.rb:33
163
266
  msgid "Connection type"
164
267
  msgstr ""
165
268
 
166
- #: ../app/models/setting/ansible.rb:35
269
+ #: ../app/models/setting/ansible.rb:37
167
270
  msgid "Enable/disable WinRM server certificate validation when running Ansible playbooks. You can override this on hosts by adding a parameter \"ansible_winrm_server_cert_validation\""
168
271
  msgstr ""
169
272
 
170
- #: ../app/models/setting/ansible.rb:40
273
+ #: ../app/models/setting/ansible.rb:42
171
274
  msgid "WinRM cert Validation"
172
275
  msgstr ""
173
276
 
174
- #: ../app/models/setting/ansible.rb:44
277
+ #: ../app/models/setting/ansible.rb:46
175
278
  msgid "Foreman will add the this level of verbosity for additional debugging output when running Ansible playbooks."
176
279
  msgstr ""
177
280
 
178
- #: ../app/models/setting/ansible.rb:47
281
+ #: ../app/models/setting/ansible.rb:49
179
282
  msgid "Default verbosity level"
180
283
  msgstr ""
181
284
 
182
- #: ../app/models/setting/ansible.rb:50
285
+ #: ../app/models/setting/ansible.rb:52
183
286
  msgid "Disabled"
184
287
  msgstr ""
185
288
 
186
- #: ../app/models/setting/ansible.rb:51
289
+ #: ../app/models/setting/ansible.rb:53
187
290
  msgid "Level 1 (-v)"
188
291
  msgstr ""
189
292
 
190
- #: ../app/models/setting/ansible.rb:52
293
+ #: ../app/models/setting/ansible.rb:54
191
294
  msgid "Level 2 (-vv)"
192
295
  msgstr ""
193
296
 
194
- #: ../app/models/setting/ansible.rb:53
297
+ #: ../app/models/setting/ansible.rb:55
195
298
  msgid "Level 3 (-vvv)"
196
299
  msgstr ""
197
300
 
198
- #: ../app/models/setting/ansible.rb:54
301
+ #: ../app/models/setting/ansible.rb:56
199
302
  msgid "Level 4 (-vvvv)"
200
303
  msgstr ""
201
304
 
202
- #: ../app/models/setting/ansible.rb:60
305
+ #: ../app/models/setting/ansible.rb:62
203
306
  msgid "Timeout (in seconds) to set when Foreman will trigger a play Ansible roles task after a host is fully provisioned. Set this to the maximum time you expect a host to take until it is ready after a reboot."
204
307
  msgstr ""
205
308
 
206
- #: ../app/models/setting/ansible.rb:65
309
+ #: ../app/models/setting/ansible.rb:67
207
310
  msgid "Post-provision timeout"
208
311
  msgstr ""
209
312
 
210
- #: ../app/models/setting/ansible.rb:69
211
- 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 throughforeman_params[\"host_parameter\"] in the playbooks."
313
+ #: ../app/models/setting/ansible.rb:71
314
+ 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."
212
315
  msgstr ""
213
316
 
214
- #: ../app/models/setting/ansible.rb:75
317
+ #: ../app/models/setting/ansible.rb:77
215
318
  msgid "Top level Ansible variables"
216
319
  msgstr ""
217
320
 
218
- #: ../app/models/setting/ansible.rb:79
321
+ #: ../app/models/setting/ansible.rb:81
219
322
  msgid "Timeout (in minutes) when hosts should have reported."
220
323
  msgstr ""
221
324
 
222
- #: ../app/models/setting/ansible.rb:81
325
+ #: ../app/models/setting/ansible.rb:83
223
326
  msgid "Ansible report timeout"
224
327
  msgstr ""
225
328
 
226
- #: ../app/models/setting/ansible.rb:85
329
+ #: ../app/models/setting/ansible.rb:87
227
330
  msgid "Disable host configuration status turning to out of sync for %{cfgmgmt} after report does not arrive within configured interval"
228
331
  msgstr ""
229
332
 
230
- #: ../app/models/setting/ansible.rb:89
333
+ #: ../app/models/setting/ansible.rb:91
231
334
  msgid "%{cfgmgmt} out of sync disabled"
232
335
  msgstr ""
233
336
 
234
- #: ../app/models/setting/ansible.rb:102 ../lib/foreman_ansible/register.rb:50
337
+ #: ../app/models/setting/ansible.rb:104 ../lib/foreman_ansible/register.rb:73
235
338
  msgid "Ansible"
236
339
  msgstr ""
237
340
 
238
- #: ../app/services/foreman_ansible/insights_notification_builder.rb:49
341
+ #: ../app/services/foreman_ansible/insights_notification_builder.rb:51
239
342
  msgid "Remediation Plan"
240
343
  msgstr ""
241
344
 
242
- #: ../app/services/foreman_ansible/insights_notification_builder.rb:59 ../db/seeds.d/90_notification_blueprints.rb:11
345
+ #: ../app/services/foreman_ansible/insights_notification_builder.rb:61 ../db/seeds.d/90_notification_blueprints.rb:13
243
346
  msgid "Job Details"
244
347
  msgstr ""
245
348
 
246
- #: ../app/services/foreman_ansible/roles_importer.rb:37
349
+ #: ../app/services/foreman_ansible/proxy_api.rb:13
247
350
  msgid "Proxy not found"
248
351
  msgstr ""
249
352
 
@@ -251,67 +354,67 @@ msgstr ""
251
354
  msgid "Changed Ansible roles"
252
355
  msgstr ""
253
356
 
254
- #: ../app/views/ansible_roles/import.html.erb:3
357
+ #: ../app/views/ansible_roles/import.html.erb:3 ../app/views/ansible_variables/import.html.erb:3
255
358
  msgid "Select the changes you want to realize in Foreman"
256
359
  msgstr ""
257
360
 
258
- #: ../app/views/ansible_roles/import.html.erb:5
361
+ #: ../app/views/ansible_roles/import.html.erb:5 ../app/views/ansible_variables/import.html.erb:5
259
362
  msgid "Toggle"
260
363
  msgstr ""
261
364
 
262
- #: ../app/views/ansible_roles/import.html.erb:6
365
+ #: ../app/views/ansible_roles/import.html.erb:6 ../app/views/ansible_variables/import.html.erb:6
263
366
  msgid "New"
264
367
  msgstr ""
265
368
 
266
- #: ../app/views/ansible_roles/import.html.erb:8
369
+ #: ../app/views/ansible_roles/import.html.erb:8 ../app/views/ansible_variables/import.html.erb:8
267
370
  msgid "Check/Uncheck new"
268
371
  msgstr ""
269
372
 
270
- #: ../app/views/ansible_roles/import.html.erb:9
373
+ #: ../app/views/ansible_roles/import.html.erb:9 ../app/views/ansible_variables/import.html.erb:9
271
374
  msgid "Obsolete"
272
375
  msgstr ""
273
376
 
274
- #: ../app/views/ansible_roles/import.html.erb:11
377
+ #: ../app/views/ansible_roles/import.html.erb:11 ../app/views/ansible_variables/import.html.erb:11
275
378
  msgid "Check/Uncheck obsolete"
276
379
  msgstr ""
277
380
 
278
- #: ../app/views/ansible_roles/import.html.erb:19
381
+ #: ../app/views/ansible_roles/import.html.erb:19 ../app/views/ansible_variables/import.html.erb:19
279
382
  msgid "Check/Uncheck all"
280
383
  msgstr ""
281
384
 
282
- #: ../app/views/ansible_roles/import.html.erb:21
385
+ #: ../app/views/ansible_roles/import.html.erb:21 ../app/views/ansible_variables/import.html.erb:21
283
386
  msgid "Name"
284
387
  msgstr ""
285
388
 
286
- #: ../app/views/ansible_roles/import.html.erb:22
389
+ #: ../app/views/ansible_roles/import.html.erb:22 ../app/views/ansible_variables/import.html.erb:23
287
390
  msgid "Hosts count"
288
391
  msgstr ""
289
392
 
290
- #: ../app/views/ansible_roles/import.html.erb:23
393
+ #: ../app/views/ansible_roles/import.html.erb:23 ../app/views/ansible_variables/import.html.erb:24
291
394
  msgid "Hostgroups count"
292
395
  msgstr ""
293
396
 
294
- #: ../app/views/ansible_roles/import.html.erb:24
397
+ #: ../app/views/ansible_roles/import.html.erb:24 ../app/views/ansible_variables/import.html.erb:25
295
398
  msgid "Operation"
296
399
  msgstr ""
297
400
 
298
- #: ../app/views/ansible_roles/import.html.erb:35
401
+ #: ../app/views/ansible_roles/import.html.erb:35 ../app/views/ansible_variables/import.html.erb:36
299
402
  msgid "Check/Uncheck all %s changes"
300
403
  msgstr ""
301
404
 
302
- #: ../app/views/ansible_roles/import.html.erb:40
405
+ #: ../app/views/ansible_roles/import.html.erb:40 ../app/views/ansible_variables/import.html.erb:42
303
406
  msgid "Add"
304
407
  msgstr ""
305
408
 
306
- #: ../app/views/ansible_roles/import.html.erb:40
409
+ #: ../app/views/ansible_roles/import.html.erb:40 ../app/views/ansible_variables/import.html.erb:42
307
410
  msgid "Remove"
308
411
  msgstr ""
309
412
 
310
- #: ../app/views/ansible_roles/import.html.erb:48
413
+ #: ../app/views/ansible_roles/import.html.erb:48 ../app/views/ansible_variables/import.html.erb:50
311
414
  msgid "Cancel"
312
415
  msgstr ""
313
416
 
314
- #: ../app/views/ansible_roles/import.html.erb:49
417
+ #: ../app/views/ansible_roles/import.html.erb:49 ../app/views/ansible_variables/import.html.erb:51
315
418
  msgid "Update"
316
419
  msgstr ""
317
420
 
@@ -335,11 +438,15 @@ msgstr ""
335
438
  msgid "Imported at"
336
439
  msgstr ""
337
440
 
338
- #: ../app/views/ansible_roles/index.html.erb:13
441
+ #: ../app/views/ansible_roles/index.html.erb:13 ../app/views/ansible_variables/index.html.erb:12
339
442
  msgid "Actions"
340
443
  msgstr ""
341
444
 
342
- #: ../app/views/ansible_roles/index.html.erb:26
445
+ #: ../app/views/ansible_roles/index.html.erb:27 ../lib/foreman_ansible/register.rb:79
446
+ msgid "Variables"
447
+ msgstr ""
448
+
449
+ #: ../app/views/ansible_roles/index.html.erb:33 ../app/views/ansible_variables/index.html.erb:36
343
450
  msgid "Delete %s?"
344
451
  msgstr ""
345
452
 
@@ -353,6 +460,50 @@ msgstr ""
353
460
  msgid "Learn more about this in the documentation."
354
461
  msgstr ""
355
462
 
463
+ #: ../app/views/ansible_variables/_ansible_roles_list.html.erb:10
464
+ msgid "Ansible Role"
465
+ msgstr ""
466
+
467
+ #: ../app/views/ansible_variables/_validator_text.html.erb:2
468
+ msgid "Before including these variables on your playbooks, Foreman will validate that your variables comply with the validation."
469
+ msgstr ""
470
+
471
+ #: ../app/views/ansible_variables/_validator_text.html.erb:4
472
+ 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."
473
+ msgstr ""
474
+
475
+ #: ../app/views/ansible_variables/edit.html.erb:4 ../app/views/ansible_variables/index.html.erb:1
476
+ msgid "Ansible Variables"
477
+ msgstr ""
478
+
479
+ #: ../app/views/ansible_variables/edit.html.erb:8
480
+ msgid "Edit %s"
481
+ msgstr ""
482
+
483
+ #: ../app/views/ansible_variables/edit.html.erb:13
484
+ msgid "Edit Ansible Variable"
485
+ msgstr ""
486
+
487
+ #: ../app/views/ansible_variables/import.html.erb:1
488
+ msgid "Changed Ansible variables"
489
+ msgstr ""
490
+
491
+ #: ../app/views/ansible_variables/import.html.erb:22
492
+ msgid "Ansible role"
493
+ msgstr ""
494
+
495
+ #: ../app/views/ansible_variables/index.html.erb:9
496
+ msgid "Variable|Name"
497
+ msgstr ""
498
+
499
+ #: ../app/views/ansible_variables/index.html.erb:10
500
+ msgid "Variable|Role"
501
+ msgstr ""
502
+
503
+ #: ../app/views/ansible_variables/index.html.erb:11
504
+ msgid "Type"
505
+ msgstr ""
506
+
356
507
  #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:5
357
508
  msgid "Play Roles"
358
509
  msgstr ""
@@ -393,36 +544,36 @@ msgstr ""
393
544
  msgid "Nothing to show"
394
545
  msgstr ""
395
546
 
396
- #: ../db/seeds.d/90_notification_blueprints.rb:3
547
+ #: ../db/seeds.d/90_notification_blueprints.rb:5
397
548
  msgid "Jobs"
398
549
  msgstr ""
399
550
 
400
- #: ../db/seeds.d/90_notification_blueprints.rb:5
551
+ #: ../db/seeds.d/90_notification_blueprints.rb:7
401
552
  msgid "Insights remediation on %{hosts_count} host(s) has finished successfully"
402
553
  msgstr ""
403
554
 
404
- #: ../lib/foreman_ansible/register.rb:52
555
+ #: ../lib/foreman_ansible/register.rb:75
405
556
  msgid "Roles"
406
557
  msgstr ""
407
558
 
408
- #: ../lib/foreman_ansible/remote_execution.rb:18
559
+ #: ../lib/foreman_ansible/remote_execution.rb:20
409
560
  msgid "Ansible: Run host roles"
410
561
  msgstr ""
411
562
 
412
- #: ../lib/foreman_ansible/remote_execution.rb:19
563
+ #: ../lib/foreman_ansible/remote_execution.rb:21
413
564
  msgid "Runs an Ansible playbook which contains all the roles defined for a host"
414
565
  msgstr ""
415
566
 
416
- #: ../lib/foreman_ansible/remote_execution.rb:24
567
+ #: ../lib/foreman_ansible/remote_execution.rb:26
417
568
  msgid "Ansible: Run Insights maintenance plan"
418
569
  msgstr ""
419
570
 
420
- #: ../lib/foreman_ansible/remote_execution.rb:25
571
+ #: ../lib/foreman_ansible/remote_execution.rb:27
421
572
  msgid "Runs a given maintenance plan from Red Hat Access Insights given an ID."
422
573
  msgstr ""
423
574
 
424
575
  #: action_names.rb:2
425
- msgid "Action with sub plans"
576
+ msgid "Remote action:"
426
577
  msgstr ""
427
578
 
428
579
  #: action_names.rb:3
@@ -434,7 +585,7 @@ msgid "Import Puppet classes"
434
585
  msgstr ""
435
586
 
436
587
  #: action_names.rb:5
437
- msgid "Remote action:"
588
+ msgid "Action with sub plans"
438
589
  msgstr ""
439
590
 
440
591
  #: gemspec.rb:2