foreman_ansible 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/ansible_variables_controller.rb +7 -2
  3. data/app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb +16 -8
  4. data/lib/foreman_ansible/version.rb +1 -1
  5. data/locale/action_names.rb +1 -1
  6. data/locale/de/LC_MESSAGES/foreman_ansible.mo +0 -0
  7. data/locale/de/foreman_ansible.edit.po +191 -90
  8. data/locale/de/foreman_ansible.po +93 -17
  9. data/locale/en/LC_MESSAGES/foreman_ansible.mo +0 -0
  10. data/locale/en/foreman_ansible.edit.po +191 -90
  11. data/locale/en/foreman_ansible.po +93 -17
  12. data/locale/es/LC_MESSAGES/foreman_ansible.mo +0 -0
  13. data/locale/es/foreman_ansible.edit.po +191 -90
  14. data/locale/es/foreman_ansible.po +93 -17
  15. data/locale/foreman_ansible.pot +209 -99
  16. data/locale/fr/LC_MESSAGES/foreman_ansible.mo +0 -0
  17. data/locale/fr/foreman_ansible.edit.po +191 -90
  18. data/locale/fr/foreman_ansible.po +93 -17
  19. data/locale/it/LC_MESSAGES/foreman_ansible.mo +0 -0
  20. data/locale/it/foreman_ansible.edit.po +191 -90
  21. data/locale/it/foreman_ansible.po +93 -17
  22. data/locale/ja/LC_MESSAGES/foreman_ansible.mo +0 -0
  23. data/locale/ja/foreman_ansible.edit.po +191 -90
  24. data/locale/ja/foreman_ansible.po +93 -17
  25. data/locale/ko/LC_MESSAGES/foreman_ansible.mo +0 -0
  26. data/locale/ko/foreman_ansible.edit.po +191 -90
  27. data/locale/ko/foreman_ansible.po +93 -17
  28. data/locale/pt_BR/LC_MESSAGES/foreman_ansible.mo +0 -0
  29. data/locale/pt_BR/foreman_ansible.edit.po +191 -90
  30. data/locale/pt_BR/foreman_ansible.po +93 -17
  31. data/locale/ru/LC_MESSAGES/foreman_ansible.mo +0 -0
  32. data/locale/ru/foreman_ansible.edit.po +191 -90
  33. data/locale/ru/foreman_ansible.po +93 -17
  34. data/locale/zh_CN/LC_MESSAGES/foreman_ansible.mo +0 -0
  35. data/locale/zh_CN/foreman_ansible.edit.po +191 -90
  36. data/locale/zh_CN/foreman_ansible.po +93 -17
  37. data/locale/zh_TW/LC_MESSAGES/foreman_ansible.mo +0 -0
  38. data/locale/zh_TW/foreman_ansible.edit.po +191 -90
  39. data/locale/zh_TW/foreman_ansible.po +93 -17
  40. data/package.json +6 -6
  41. data/test/functional/ansible_variables_controller_test.rb +17 -2
  42. data/webpack/index.js +11 -0
  43. metadata +28 -28
@@ -5,7 +5,7 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_ansible 2.3.0\n"
8
+ "Project-Id-Version: foreman_ansible 3.0.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"
@@ -41,6 +41,12 @@ msgstr ""
41
41
  msgid "Ansible Roles"
42
42
  msgstr ""
43
43
 
44
+ msgid "Ansible Variable Details"
45
+ msgstr ""
46
+
47
+ msgid "Ansible Variable Details (Imported)"
48
+ msgstr ""
49
+
44
50
  msgid "Ansible Variables"
45
51
  msgstr ""
46
52
 
@@ -53,19 +59,28 @@ msgstr ""
53
59
  msgid "Ansible role names to import"
54
60
  msgstr ""
55
61
 
62
+ msgid "Ansible roles to assign to a host"
63
+ msgstr ""
64
+
65
+ msgid "Ansible roles to assign to a hostgroup"
66
+ msgstr ""
67
+
56
68
  msgid "Ansible support in Foreman"
57
69
  msgstr ""
58
70
 
59
71
  msgid "Ansible: Run Insights maintenance plan"
60
72
  msgstr ""
61
73
 
62
- msgid "Ansible: Run host roles"
74
+ msgid "Arguments"
63
75
  msgstr ""
64
76
 
65
- msgid "Arguments"
77
+ msgid "Assigns Ansible roles to a host"
78
+ msgstr ""
79
+
80
+ msgid "Assigns Ansible roles to a hostgroup"
66
81
  msgstr ""
67
82
 
68
- msgid "Available roles"
83
+ msgid "Avoid duplicate values when merging them (only array type)?"
69
84
  msgstr ""
70
85
 
71
86
  msgid "Before including these variables on your playbooks, Foreman will validate that your variables comply with the validation."
@@ -92,18 +107,33 @@ msgstr ""
92
107
  msgid "Check/Uncheck obsolete"
93
108
  msgstr ""
94
109
 
110
+ msgid "Check/Uncheck update"
111
+ msgstr ""
112
+
95
113
  msgid "Clone"
96
114
  msgstr ""
97
115
 
98
116
  msgid "Connection type"
99
117
  msgstr ""
100
118
 
119
+ msgid "Continue to look for matches after first find (only array/hash type)? Note: merging overrides ignores all matchers that are omitted."
120
+ msgstr ""
121
+
101
122
  msgid "Could not run Ansible roles for %{host}"
102
123
  msgstr ""
103
124
 
125
+ msgid "Create Ansible Variable"
126
+ msgstr ""
127
+
128
+ msgid "Create Ansible variable"
129
+ msgstr ""
130
+
104
131
  msgid "Create an override value for a specific ansible variable"
105
132
  msgstr ""
106
133
 
134
+ msgid "Default Behavior"
135
+ msgstr ""
136
+
107
137
  msgid "Default value of variable"
108
138
  msgstr ""
109
139
 
@@ -152,7 +182,13 @@ msgstr ""
152
182
  msgid "Foreman will add the this level of verbosity for additional debugging output when running Ansible playbooks."
153
183
  msgstr ""
154
184
 
155
- msgid "From %s"
185
+ msgid "Foreman will run Ansible playbooks using this implementation"
186
+ msgstr ""
187
+
188
+ msgid "Hidden Value"
189
+ msgstr ""
190
+
191
+ msgid "Hide all values for this parameter."
156
192
  msgstr ""
157
193
 
158
194
  msgid "Host group has no associated hosts"
@@ -179,7 +215,10 @@ msgstr ""
179
215
  msgid "IDs of hosts to play roles on"
180
216
  msgstr ""
181
217
 
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."
218
+ msgid "If checked, will raise an error if there is no default value and no matcher provide a value."
219
+ msgstr ""
220
+
221
+ msgid "Implementation for running Ansible"
183
222
  msgstr ""
184
223
 
185
224
  msgid "Import"
@@ -197,21 +236,31 @@ msgstr ""
197
236
  msgid "Import facts"
198
237
  msgstr ""
199
238
 
239
+ msgid "Import from %s"
240
+ msgstr ""
241
+
200
242
  msgid "Import of roles successfully finished."
201
243
  msgstr ""
202
244
 
203
245
  msgid ""
204
246
  "Import of variables successfully finished.\n"
205
- "Added: #{results[:added].join(', ')} \n"
206
- " Removed: #{results[:obsolete].join(', ')}"
247
+ "Added: #{results[:added].count} \n"
248
+ " Removed: #{results[:obsolete].count} \n"
249
+ "Updated: #{results[:updated].count}"
207
250
  msgstr ""
208
251
 
209
252
  msgid "Imported at"
210
253
  msgstr ""
211
254
 
255
+ msgid "Imported?"
256
+ msgstr ""
257
+
212
258
  msgid "Include default value when merging all matching values"
213
259
  msgstr ""
214
260
 
261
+ msgid "Include default value when merging all matching values."
262
+ msgstr ""
263
+
215
264
  msgid "Insights remediation on %{hosts_count} host(s) has finished successfully"
216
265
  msgstr ""
217
266
 
@@ -251,6 +300,9 @@ msgstr ""
251
300
  msgid "List all Ansible roles for a hostgroup"
252
301
  msgstr ""
253
302
 
303
+ 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."
304
+ msgstr ""
305
+
254
306
  msgid "Merge all matching values (only array/hash type)"
255
307
  msgstr ""
256
308
 
@@ -272,6 +324,9 @@ msgstr ""
272
324
  msgid "New"
273
325
  msgstr ""
274
326
 
327
+ msgid "New Ansible Variable"
328
+ msgstr ""
329
+
275
330
  msgid ""
276
331
  "No ansible roles were found in Foreman. If you want to assign roles to your hosts,\n"
277
332
  " you have to import them first."
@@ -283,6 +338,9 @@ msgstr ""
283
338
  msgid "No changes in roles detected."
284
339
  msgstr ""
285
340
 
341
+ msgid "No changes in variables detected on %s."
342
+ msgstr ""
343
+
286
344
  msgid "No proxy found to import variables from, ensure that the smart proxy has the Ansible feature enabled."
287
345
  msgstr ""
288
346
 
@@ -301,12 +359,24 @@ msgstr ""
301
359
  msgid "Operation"
302
360
  msgstr ""
303
361
 
362
+ msgid "Optional Input Validator"
363
+ msgstr ""
364
+
365
+ msgid "Order"
366
+ msgstr ""
367
+
304
368
  msgid "Override match"
305
369
  msgstr ""
306
370
 
371
+ msgid "Override the default value of the Ansible variable."
372
+ msgstr ""
373
+
307
374
  msgid "Override value, required if omit is false"
308
375
  msgstr ""
309
376
 
377
+ msgid "Overriden"
378
+ msgstr ""
379
+
310
380
  msgid "Play Ansible roles"
311
381
  msgstr ""
312
382
 
@@ -331,6 +401,9 @@ msgstr ""
331
401
  msgid "Post-provision timeout"
332
402
  msgstr ""
333
403
 
404
+ msgid "Prioritize Attribute Order"
405
+ msgstr ""
406
+
334
407
  msgid "Private Key Path"
335
408
  msgstr ""
336
409
 
@@ -370,6 +443,9 @@ msgstr ""
370
443
  msgid "Select the changes you want to realize in Foreman"
371
444
  msgstr ""
372
445
 
446
+ msgid "Set the order in which values are resolved."
447
+ msgstr ""
448
+
373
449
  msgid "Show role"
374
450
  msgstr ""
375
451
 
@@ -382,13 +458,16 @@ msgstr ""
382
458
  msgid "Smart Proxy to import from"
383
459
  msgstr ""
384
460
 
385
- msgid "The order in which values are resolved"
461
+ msgid "Specify Matchers"
386
462
  msgstr ""
387
463
 
388
- msgid "There are no Ansible roles to play"
464
+ 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>"
465
+ msgstr ""
466
+
467
+ msgid "The order in which values are resolved"
389
468
  msgstr ""
390
469
 
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 "
470
+ msgid "There are no Ansible roles to play"
392
471
  msgstr ""
393
472
 
394
473
  msgid "Timeout (in minutes) when hosts should have reported."
@@ -400,9 +479,6 @@ msgstr ""
400
479
  msgid "Toggle"
401
480
  msgstr ""
402
481
 
403
- msgid "Top level Ansible variables"
404
- msgstr ""
405
-
406
482
  msgid "Type"
407
483
  msgstr ""
408
484
 
@@ -433,6 +509,9 @@ msgstr ""
433
509
  msgid "Used to enforce certain values for the parameter values"
434
510
  msgstr ""
435
511
 
512
+ msgid "Value to use when there is no match."
513
+ msgstr ""
514
+
436
515
  msgid "Variables"
437
516
  msgstr ""
438
517
 
@@ -445,8 +524,5 @@ msgstr ""
445
524
  msgid "When enabled the parameter is hidden in the UI"
446
525
  msgstr ""
447
526
 
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."
449
- msgstr ""
450
-
451
527
  msgid "WinRM cert Validation"
452
528
  msgstr ""
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_ansible 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2019-01-25 21:33+0100\n"
12
- "PO-Revision-Date: 2019-01-25 21:33+0100\n"
11
+ "POT-Creation-Date: 2019-04-30 20:53+0200\n"
12
+ "PO-Revision-Date: 2019-04-30 20:53+0200\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -30,14 +30,19 @@ msgstr ""
30
30
  msgid "No changes in roles detected on %s."
31
31
  msgstr ""
32
32
 
33
- #: ../app/controllers/ansible_variables_controller.rb:31
33
+ #: ../app/controllers/ansible_variables_controller.rb:39
34
+ msgid "No changes in variables detected on %s."
35
+ msgstr ""
36
+
37
+ #: ../app/controllers/ansible_variables_controller.rb:49
34
38
  msgid ""
35
39
  "Import of variables successfully finished.\n"
36
- "Added: #{results[:added].join(', ')} \n"
37
- " Removed: #{results[:obsolete].join(', ')}"
40
+ "Added: #{results[:added].count} \n"
41
+ " Removed: #{results[:obsolete].count} \n"
42
+ "Updated: #{results[:updated].count}"
38
43
  msgstr ""
39
44
 
40
- #: ../app/controllers/ansible_variables_controller.rb:75
45
+ #: ../app/controllers/ansible_variables_controller.rb:102
41
46
  msgid ""
42
47
  "No proxy found to import variables from, ensure that the smart proxy has the A"
43
48
  "nsible feature enabled."
@@ -77,8 +82,8 @@ msgstr ""
77
82
 
78
83
  #: ../app/controllers/api/v2/ansible_roles_controller.rb:35
79
84
  #: ../app/controllers/api/v2/ansible_roles_controller.rb:42
80
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:65
81
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:75
85
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:73
86
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:83
82
87
  msgid "Smart Proxy to import from"
83
88
  msgstr ""
84
89
 
@@ -98,124 +103,146 @@ msgstr ""
98
103
  msgid "Smart Proxy to fetch from"
99
104
  msgstr ""
100
105
 
101
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:19
106
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:20
102
107
  msgid "Show variable"
103
108
  msgstr ""
104
109
 
105
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:23
110
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:24
106
111
  msgid "List Ansible variables"
107
112
  msgstr ""
108
113
 
109
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:29
114
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:30
110
115
  msgid "Deletes Ansible variable"
111
116
  msgstr ""
112
117
 
113
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:38
118
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:39
114
119
  msgid "Name of variable"
115
120
  msgstr ""
116
121
 
117
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:39
122
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:40
118
123
  msgid "Role ID"
119
124
  msgstr ""
120
125
 
121
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:40
126
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:41
122
127
  msgid "Default value of variable"
123
128
  msgstr ""
124
129
 
125
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:41
130
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:42
126
131
  msgid "When enabled the parameter is hidden in the UI"
127
132
  msgstr ""
128
133
 
129
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:42
134
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:43
130
135
  msgid "The order in which values are resolved"
131
136
  msgstr ""
132
137
 
133
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:43
138
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:44
134
139
  msgid "Description of variable"
135
140
  msgstr ""
136
141
 
137
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:44
142
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:45
138
143
  msgid "Types of validation values"
139
144
  msgstr ""
140
145
 
141
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:45
146
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:46
142
147
  msgid "Used to enforce certain values for the parameter values"
143
148
  msgstr ""
144
149
 
145
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:46
150
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:47
146
151
  msgid "Types of variable values"
147
152
  msgstr ""
148
153
 
149
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:47
154
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:48
150
155
  msgid "Merge all matching values (only array/hash type)"
151
156
  msgstr ""
152
157
 
153
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:48
158
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:49
154
159
  msgid "Include default value when merging all matching values"
155
160
  msgstr ""
156
161
 
157
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:49
162
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:50
158
163
  msgid "Remove duplicate values (only array type)"
159
164
  msgstr ""
160
165
 
161
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:53
166
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:54
167
+ msgid "Create Ansible variable"
168
+ msgstr ""
169
+
170
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:61
162
171
  msgid "Updates Ansible variable"
163
172
  msgstr ""
164
173
 
165
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:63
174
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:71
166
175
  msgid ""
167
176
  "Import Ansible variables. This will only import variables for already existing"
168
177
  " roles, it will not import any new roles"
169
178
  msgstr ""
170
179
 
171
- #: ../app/controllers/api/v2/ansible_variables_controller.rb:73
180
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:81
172
181
  msgid ""
173
182
  "Obsolete Ansible variables. This will only obsolete variables for already exis"
174
183
  "ting roles, it will not delete any old roles"
175
184
  msgstr ""
176
185
 
177
186
  #:
178
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:17
187
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:20
179
188
  msgid "Plays Ansible roles on a hostgroup"
180
189
  msgstr ""
181
190
 
182
191
  #:
183
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:27
192
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:30
184
193
  msgid "Plays Ansible roles on hostgroups"
185
194
  msgstr ""
186
195
 
187
196
  #:
188
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:28
197
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:31
189
198
  msgid "IDs of hostgroups to play roles on"
190
199
  msgstr ""
191
200
 
192
201
  #:
193
- #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:39
202
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:42
194
203
  msgid "List all Ansible roles for a hostgroup"
195
204
  msgstr ""
196
205
 
206
+ #:
207
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:53
208
+ msgid "Assigns Ansible roles to a hostgroup"
209
+ msgstr ""
210
+
211
+ #:
212
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:56
213
+ msgid "Ansible roles to assign to a hostgroup"
214
+ msgstr ""
215
+
197
216
  #:
198
217
  #: ../app/controllers/foreman_ansible/api/v2/hostgroups_param_group_extensions.rb:13
199
218
  #: ../app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb:13
200
219
  msgid "IDs of associated ansible roles"
201
220
  msgstr ""
202
221
 
203
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:22
222
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:26
204
223
  msgid "Plays Ansible roles on a host"
205
224
  msgstr ""
206
225
 
207
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:31
226
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:35
208
227
  msgid "Plays Ansible roles on hosts"
209
228
  msgstr ""
210
229
 
211
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:32
230
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:36
212
231
  msgid "IDs of hosts to play roles on"
213
232
  msgstr ""
214
233
 
215
- #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:42
234
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:46
216
235
  msgid "List all Ansible roles for a host"
217
236
  msgstr ""
218
237
 
238
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:56
239
+ msgid "Assigns Ansible roles to a host"
240
+ msgstr ""
241
+
242
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:59
243
+ msgid "Ansible roles to assign to a host"
244
+ msgstr ""
245
+
219
246
  #:
220
247
  #: ../app/controllers/foreman_ansible/concerns/hostgroups_controller_extensions.rb:27
221
248
  msgid "Host group has no associated hosts"
@@ -230,32 +257,32 @@ msgid "Could not run Ansible roles for %{host}"
230
257
  msgstr ""
231
258
 
232
259
  #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:8
233
- msgid "From %s"
260
+ msgid "Import from %s"
261
+ msgstr ""
262
+
263
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:23
264
+ msgid "Ansible Role"
234
265
  msgstr ""
235
266
 
236
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:15
267
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:29
237
268
  msgid "Import"
238
269
  msgstr ""
239
270
 
240
- #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:21
271
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:35
241
272
  msgid "%s ago"
242
273
  msgstr ""
243
274
 
244
- #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:23
275
+ #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:13
245
276
  #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:18
246
277
  msgid "Play Ansible roles"
247
278
  msgstr ""
248
279
 
249
- #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:42
250
- msgid "Run Ansible roles"
251
- msgstr ""
252
-
253
280
  #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:10
254
281
  msgid "Playbook execution failed"
255
282
  msgstr ""
256
283
 
257
284
  #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:30
258
- #: ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:35
285
+ #: ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:36
259
286
  msgid "Error loading data from proxy"
260
287
  msgstr ""
261
288
 
@@ -344,36 +371,32 @@ msgid "Post-provision timeout"
344
371
  msgstr ""
345
372
 
346
373
  #: ../app/models/setting/ansible.rb:71
347
- msgid ""
348
- "Whether to put Ansible parameters in the \"hostvars\" top-level key of the inven"
349
- "tory. By default it is true, so that Host Parameters can be used directly in t"
350
- "he playbooks. When false, Host Parameters can only be accessed through foreman"
351
- "_params[\"host_parameter\"] in the playbooks."
352
- msgstr ""
353
-
354
- #: ../app/models/setting/ansible.rb:77
355
- msgid "Top level Ansible variables"
356
- msgstr ""
357
-
358
- #: ../app/models/setting/ansible.rb:81
359
374
  msgid "Timeout (in minutes) when hosts should have reported."
360
375
  msgstr ""
361
376
 
362
- #: ../app/models/setting/ansible.rb:83
377
+ #: ../app/models/setting/ansible.rb:73
363
378
  msgid "Ansible report timeout"
364
379
  msgstr ""
365
380
 
366
- #: ../app/models/setting/ansible.rb:87
381
+ #: ../app/models/setting/ansible.rb:77
367
382
  msgid ""
368
383
  "Disable host configuration status turning to out of sync for %{cfgmgmt} after "
369
384
  "report does not arrive within configured interval"
370
385
  msgstr ""
371
386
 
372
- #: ../app/models/setting/ansible.rb:91
387
+ #: ../app/models/setting/ansible.rb:81
373
388
  msgid "%{cfgmgmt} out of sync disabled"
374
389
  msgstr ""
375
390
 
376
- #: ../app/models/setting/ansible.rb:104 ../lib/foreman_ansible/register.rb:73
391
+ #: ../app/models/setting/ansible.rb:86
392
+ msgid "Foreman will run Ansible playbooks using this implementation"
393
+ msgstr ""
394
+
395
+ #: ../app/models/setting/ansible.rb:88
396
+ msgid "Implementation for running Ansible"
397
+ msgstr ""
398
+
399
+ #: ../app/models/setting/ansible.rb:104 ../lib/foreman_ansible/register.rb:92
377
400
  msgid "Ansible"
378
401
  msgstr ""
379
402
 
@@ -425,52 +448,54 @@ msgid "Check/Uncheck obsolete"
425
448
  msgstr ""
426
449
 
427
450
  #: ../app/views/ansible_roles/import.html.erb:19
428
- #: ../app/views/ansible_variables/import.html.erb:19
451
+ #: ../app/views/ansible_variables/import.html.erb:22
429
452
  msgid "Check/Uncheck all"
430
453
  msgstr ""
431
454
 
432
455
  #: ../app/views/ansible_roles/import.html.erb:21
433
- #: ../app/views/ansible_variables/import.html.erb:21
456
+ #: ../app/views/ansible_variables/import.html.erb:24
434
457
  msgid "Name"
435
458
  msgstr ""
436
459
 
437
460
  #: ../app/views/ansible_roles/import.html.erb:22
438
- #: ../app/views/ansible_variables/import.html.erb:23
461
+ #: ../app/views/ansible_variables/import.html.erb:26
439
462
  msgid "Hosts count"
440
463
  msgstr ""
441
464
 
442
465
  #: ../app/views/ansible_roles/import.html.erb:23
443
- #: ../app/views/ansible_variables/import.html.erb:24
466
+ #: ../app/views/ansible_variables/import.html.erb:27
444
467
  msgid "Hostgroups count"
445
468
  msgstr ""
446
469
 
447
470
  #: ../app/views/ansible_roles/import.html.erb:24
448
- #: ../app/views/ansible_variables/import.html.erb:25
471
+ #: ../app/views/ansible_variables/import.html.erb:28
449
472
  msgid "Operation"
450
473
  msgstr ""
451
474
 
452
475
  #: ../app/views/ansible_roles/import.html.erb:35
453
- #: ../app/views/ansible_variables/import.html.erb:36
476
+ #: ../app/views/ansible_variables/import.html.erb:39
454
477
  msgid "Check/Uncheck all %s changes"
455
478
  msgstr ""
456
479
 
457
480
  #: ../app/views/ansible_roles/import.html.erb:40
458
- #: ../app/views/ansible_variables/import.html.erb:42
481
+ #: ../app/views/ansible_variables/import.html.erb:45
459
482
  msgid "Add"
460
483
  msgstr ""
461
484
 
462
485
  #: ../app/views/ansible_roles/import.html.erb:40
463
- #: ../app/views/ansible_variables/import.html.erb:42
486
+ #: ../app/views/ansible_variables/import.html.erb:45
464
487
  msgid "Remove"
465
488
  msgstr ""
466
489
 
467
490
  #: ../app/views/ansible_roles/import.html.erb:48
468
- #: ../app/views/ansible_variables/import.html.erb:50
491
+ #: ../app/views/ansible_variables/import.html.erb:53
469
492
  msgid "Cancel"
470
493
  msgstr ""
471
494
 
472
495
  #: ../app/views/ansible_roles/import.html.erb:49
473
- #: ../app/views/ansible_variables/import.html.erb:51
496
+ #: ../app/views/ansible_variables/import.html.erb:12
497
+ #: ../app/views/ansible_variables/import.html.erb:45
498
+ #: ../app/views/ansible_variables/import.html.erb:54
474
499
  msgid "Update"
475
500
  msgstr ""
476
501
 
@@ -498,17 +523,17 @@ msgid "Imported at"
498
523
  msgstr ""
499
524
 
500
525
  #: ../app/views/ansible_roles/index.html.erb:13
501
- #: ../app/views/ansible_variables/index.html.erb:12
526
+ #: ../app/views/ansible_variables/index.html.erb:16
502
527
  msgid "Actions"
503
528
  msgstr ""
504
529
 
505
530
  #: ../app/views/ansible_roles/index.html.erb:27
506
- #: ../lib/foreman_ansible/register.rb:79
531
+ #: ../lib/foreman_ansible/register.rb:98
507
532
  msgid "Variables"
508
533
  msgstr ""
509
534
 
510
535
  #: ../app/views/ansible_roles/index.html.erb:33
511
- #: ../app/views/ansible_variables/index.html.erb:36
536
+ #: ../app/views/ansible_variables/index.html.erb:41
512
537
  msgid "Delete %s?"
513
538
  msgstr ""
514
539
 
@@ -523,24 +548,99 @@ msgstr ""
523
548
  msgid "Learn more about this in the documentation."
524
549
  msgstr ""
525
550
 
526
- #: ../app/views/ansible_variables/_ansible_roles_list.html.erb:10
527
- msgid "Ansible Role"
551
+ #: ../app/views/ansible_variables/_fields.erb:4
552
+ msgid "Ansible Variable Details (Imported)"
553
+ msgstr ""
554
+
555
+ #: ../app/views/ansible_variables/_fields.erb:4
556
+ msgid "Ansible Variable Details"
557
+ msgstr ""
558
+
559
+ #: ../app/views/ansible_variables/_fields.erb:11
560
+ msgid "Default Behavior"
561
+ msgstr ""
562
+
563
+ #: ../app/views/ansible_variables/_fields.erb:12
564
+ msgid "Override the default value of the Ansible variable."
528
565
  msgstr ""
529
566
 
530
- #: ../app/views/ansible_variables/_validator_text.html.erb:2
567
+ #: ../app/views/ansible_variables/_fields.erb:14
568
+ msgid ""
569
+ "Mark the variable to be managed by Foreman. When the Ansible role of this vari"
570
+ "able is assigned to a host, the default value will be added to Ansible invento"
571
+ "ry as a host variable. Specify matchers to set a different value for such vari"
572
+ "able."
573
+ msgstr ""
574
+
575
+ #: ../app/views/ansible_variables/_fields.erb:27
576
+ msgid "Value to use when there is no match."
577
+ msgstr ""
578
+
579
+ #: ../app/views/ansible_variables/_fields.erb:30
580
+ msgid "Hidden Value"
581
+ msgstr ""
582
+
583
+ #: ../app/views/ansible_variables/_fields.erb:33
584
+ msgid "Hide all values for this parameter."
585
+ msgstr ""
586
+
587
+ #: ../app/views/ansible_variables/_fields.erb:39
588
+ msgid "Optional Input Validator"
589
+ msgstr ""
590
+
591
+ #: ../app/views/ansible_variables/_fields.erb:41
531
592
  msgid ""
532
593
  "Before including these variables on your playbooks, Foreman will validate that"
533
594
  " your variables comply with the validation."
534
595
  msgstr ""
535
596
 
536
- #: ../app/views/ansible_variables/_validator_text.html.erb:4
597
+ #: ../app/views/ansible_variables/_fields.erb:44
537
598
  msgid ""
538
- "If ERB is used in a parameter value, the validation of the value will happen d"
539
- "uring the ENC request. If the value is invalid, the ENC request will fail."
599
+ "If checked, will raise an error if there is no default value and no matcher pr"
600
+ "ovide a value."
601
+ msgstr ""
602
+
603
+ #: ../app/views/ansible_variables/_fields.erb:53
604
+ msgid "Prioritize Attribute Order"
605
+ msgstr ""
606
+
607
+ #: ../app/views/ansible_variables/_fields.erb:54
608
+ msgid "Set the order in which values are resolved."
609
+ msgstr ""
610
+
611
+ #: ../app/views/ansible_variables/_fields.erb:55
612
+ msgid "Order"
613
+ msgstr ""
614
+
615
+ #: ../app/views/ansible_variables/_fields.erb:56
616
+ msgid ""
617
+ "The order in which matchers keys are processed, first match wins.<br> You may "
618
+ "use multiple attributes as a matcher key, for example, an order of <code>host "
619
+ "group, environment</code> would expect a matcher such as <code>hostgroup = \"we"
620
+ "b servers\", environment = production</code>"
621
+ msgstr ""
622
+
623
+ #: ../app/views/ansible_variables/_fields.erb:59
624
+ msgid ""
625
+ "Continue to look for matches after first find (only array/hash type)? Note: me"
626
+ "rging overrides ignores all matchers that are omitted."
627
+ msgstr ""
628
+
629
+ #: ../app/views/ansible_variables/_fields.erb:61
630
+ msgid "Include default value when merging all matching values."
631
+ msgstr ""
632
+
633
+ #: ../app/views/ansible_variables/_fields.erb:64
634
+ msgid "Avoid duplicate values when merging them (only array type)?"
635
+ msgstr ""
636
+
637
+ #: ../app/views/ansible_variables/_fields.erb:68
638
+ msgid "Specify Matchers"
540
639
  msgstr ""
541
640
 
542
641
  #: ../app/views/ansible_variables/edit.html.erb:4
543
642
  #: ../app/views/ansible_variables/index.html.erb:1
643
+ #: ../app/views/ansible_variables/new.html.erb:4
544
644
  msgid "Ansible Variables"
545
645
  msgstr ""
546
646
 
@@ -556,22 +656,43 @@ msgstr ""
556
656
  msgid "Changed Ansible variables"
557
657
  msgstr ""
558
658
 
559
- #: ../app/views/ansible_variables/import.html.erb:22
659
+ #: ../app/views/ansible_variables/import.html.erb:14
660
+ msgid "Check/Uncheck update"
661
+ msgstr ""
662
+
663
+ #: ../app/views/ansible_variables/import.html.erb:25
560
664
  msgid "Ansible role"
561
665
  msgstr ""
562
666
 
563
- #: ../app/views/ansible_variables/index.html.erb:9
667
+ #: ../app/views/ansible_variables/index.html.erb:5
668
+ msgid "New Ansible Variable"
669
+ msgstr ""
670
+
671
+ #: ../app/views/ansible_variables/index.html.erb:12
564
672
  msgid "Variable|Name"
565
673
  msgstr ""
566
674
 
567
- #: ../app/views/ansible_variables/index.html.erb:10
675
+ #: ../app/views/ansible_variables/index.html.erb:13
568
676
  msgid "Variable|Role"
569
677
  msgstr ""
570
678
 
571
- #: ../app/views/ansible_variables/index.html.erb:11
679
+ #: ../app/views/ansible_variables/index.html.erb:14
572
680
  msgid "Type"
573
681
  msgstr ""
574
682
 
683
+ #: ../app/views/ansible_variables/index.html.erb:15
684
+ msgid "Imported?"
685
+ msgstr ""
686
+
687
+ #: ../app/views/ansible_variables/index.html.erb:23
688
+ msgid "Overriden"
689
+ msgstr ""
690
+
691
+ #: ../app/views/ansible_variables/new.html.erb:8
692
+ #: ../app/views/ansible_variables/new.html.erb:13
693
+ msgid "Create Ansible Variable"
694
+ msgstr ""
695
+
575
696
  #:
576
697
  #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:5
577
698
  msgid "Play Roles"
@@ -587,17 +708,6 @@ msgstr ""
587
708
  msgid "Clone"
588
709
  msgstr ""
589
710
 
590
- #: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:9
591
- msgid "Available roles"
592
- msgstr ""
593
-
594
- #: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:10
595
- msgid ""
596
- "This list of roles will be applied when the host finishes<br/> provisioning. U"
597
- "sers can also play these roles through the API<br/>or by clicking on the Play "
598
- "Roles button on the Host page "
599
- msgstr ""
600
-
601
711
  #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:7
602
712
  msgid "Level"
603
713
  msgstr ""
@@ -626,23 +736,23 @@ msgstr ""
626
736
  msgid "Insights remediation on %{hosts_count} host(s) has finished successfully"
627
737
  msgstr ""
628
738
 
629
- #: ../lib/foreman_ansible/register.rb:75
739
+ #: ../lib/foreman_ansible/register.rb:94
630
740
  msgid "Roles"
631
741
  msgstr ""
632
742
 
633
743
  #: ../lib/foreman_ansible/remote_execution.rb:20
634
- msgid "Ansible: Run host roles"
744
+ msgid "Run Ansible roles"
635
745
  msgstr ""
636
746
 
637
747
  #: ../lib/foreman_ansible/remote_execution.rb:21
638
748
  msgid "Runs an Ansible playbook which contains all the roles defined for a host"
639
749
  msgstr ""
640
750
 
641
- #: ../lib/foreman_ansible/remote_execution.rb:26
751
+ #: ../lib/foreman_ansible/remote_execution.rb:27
642
752
  msgid "Ansible: Run Insights maintenance plan"
643
753
  msgstr ""
644
754
 
645
- #: ../lib/foreman_ansible/remote_execution.rb:27
755
+ #: ../lib/foreman_ansible/remote_execution.rb:28
646
756
  msgid "Runs a given maintenance plan from Red Hat Access Insights given an ID."
647
757
  msgstr ""
648
758
 
@@ -651,11 +761,11 @@ msgid "Remote action:"
651
761
  msgstr ""
652
762
 
653
763
  #: action_names.rb:3
654
- msgid "Import facts"
764
+ msgid "Import Puppet classes"
655
765
  msgstr ""
656
766
 
657
767
  #: action_names.rb:4
658
- msgid "Import Puppet classes"
768
+ msgid "Import facts"
659
769
  msgstr ""
660
770
 
661
771
  #: action_names.rb:5