foreman_ansible 2.2.14 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -0
  3. data/app/controllers/ansible_roles_controller.rb +4 -11
  4. data/app/controllers/ansible_variables_controller.rb +80 -0
  5. data/app/controllers/api/v2/ansible_roles_controller.rb +2 -0
  6. data/app/controllers/api/v2/ansible_variables_controller.rb +68 -0
  7. data/app/controllers/concerns/foreman/controller/parameters/ansible_variable.rb +36 -0
  8. data/app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb +2 -0
  9. data/app/controllers/foreman_ansible/api/v2/hostgroups_param_group_extensions.rb +2 -0
  10. data/app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb +2 -0
  11. data/app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb +2 -0
  12. data/app/controllers/foreman_ansible/concerns/hostgroups_controller_extensions.rb +2 -0
  13. data/app/controllers/foreman_ansible/concerns/hosts_controller_extensions.rb +2 -0
  14. data/app/controllers/foreman_ansible/concerns/import_controller_helper.rb +24 -0
  15. data/app/controllers/foreman_ansible/concerns/job_invocation_helper.rb +2 -0
  16. data/app/helpers/foreman_ansible/ansible_plugin_helper.rb +2 -0
  17. data/app/helpers/foreman_ansible/ansible_reports_helper.rb +6 -4
  18. data/app/helpers/foreman_ansible/ansible_roles_helper.rb +2 -0
  19. data/app/helpers/foreman_ansible/hosts_helper_extensions.rb +2 -0
  20. data/app/lib/actions/foreman_ansible/helpers/host_common.rb +2 -0
  21. data/app/lib/actions/foreman_ansible/helpers/play_roles_description.rb +2 -0
  22. data/app/lib/proxy_api/ansible.rb +16 -0
  23. data/app/models/ansible_role.rb +5 -0
  24. data/app/models/ansible_variable.rb +23 -0
  25. data/app/models/concerns/foreman_ansible/host_managed_extensions.rb +3 -1
  26. data/app/models/concerns/foreman_ansible/hostgroup_extensions.rb +2 -0
  27. data/app/models/foreman_ansible/ansible_provider.rb +2 -0
  28. data/app/models/foreman_ansible/fact_name.rb +2 -0
  29. data/app/models/host_ansible_role.rb +2 -0
  30. data/app/models/hostgroup_ansible_role.rb +2 -0
  31. data/app/models/setting/ansible.rb +7 -5
  32. data/app/overrides/ansible_roles_tab.rb +2 -0
  33. data/app/overrides/ansible_variables_edit.rb +15 -0
  34. data/app/overrides/hostgroup_ansible_roles_tab.rb +2 -0
  35. data/app/overrides/hostgroup_play_roles.rb +2 -0
  36. data/app/overrides/report_output.rb +2 -0
  37. data/app/services/foreman_ansible/ansible_report_importer.rb +15 -0
  38. data/app/services/foreman_ansible/ansible_report_scanner.rb +2 -0
  39. data/app/services/foreman_ansible/api_roles_importer.rb +2 -0
  40. data/app/services/foreman_ansible/fact_importer.rb +2 -0
  41. data/app/services/foreman_ansible/fact_parser.rb +13 -1
  42. data/app/services/foreman_ansible/fact_sparser.rb +2 -0
  43. data/app/services/foreman_ansible/insights_notification_builder.rb +2 -0
  44. data/app/services/foreman_ansible/insights_plan_runner.rb +3 -2
  45. data/app/services/foreman_ansible/inventory_creator.rb +0 -6
  46. data/app/services/foreman_ansible/operating_system_parser.rb +3 -1
  47. data/app/services/foreman_ansible/playbook_creator.rb +2 -0
  48. data/app/services/foreman_ansible/proxy_api.rb +24 -0
  49. data/app/services/foreman_ansible/renderer_methods.rb +2 -0
  50. data/app/services/foreman_ansible/roles_importer.rb +4 -17
  51. data/app/services/foreman_ansible/structured_fact_importer.rb +2 -0
  52. data/app/services/foreman_ansible/ui_roles_importer.rb +2 -0
  53. data/app/services/foreman_ansible/variables_importer.rb +100 -0
  54. data/app/views/ansible_roles/index.html.erb +13 -3
  55. data/app/views/ansible_variables/_ansible_roles_list.html.erb +15 -0
  56. data/app/views/ansible_variables/_validator_text.html.erb +5 -0
  57. data/app/views/ansible_variables/edit.html.erb +17 -0
  58. data/app/views/ansible_variables/import.html.erb +53 -0
  59. data/app/views/ansible_variables/index.html.erb +46 -0
  60. data/app/views/api/v2/ansible_roles/import.json.rabl +2 -0
  61. data/app/views/api/v2/ansible_roles/index.json.rabl +2 -0
  62. data/app/views/api/v2/ansible_roles/obsolete.json.rabl +2 -0
  63. data/app/views/api/v2/ansible_roles/show.json.rabl +2 -0
  64. data/app/views/api/v2/ansible_variables/import.json.rabl +3 -0
  65. data/app/views/api/v2/ansible_variables/index.json.rabl +3 -0
  66. data/app/views/api/v2/ansible_variables/obsolete.json.rabl +3 -0
  67. data/app/views/api/v2/ansible_variables/show.json.rabl +20 -0
  68. data/app/views/foreman_ansible/api/v2/ansible_roles/import.json.rabl +2 -0
  69. data/app/views/foreman_ansible/api/v2/ansible_roles/index.json.rabl +2 -0
  70. data/app/views/foreman_ansible/api/v2/ansible_roles/obsolete.json.rabl +2 -0
  71. data/app/views/foreman_ansible/api/v2/ansible_roles/show.json.rabl +2 -0
  72. data/config/routes.rb +17 -0
  73. data/db/migrate/20160705082036_create_ansible_role.rb +2 -0
  74. data/db/migrate/20160706074540_create_join_table_hosts_ansible_roles.rb +2 -0
  75. data/db/migrate/20160707195442_create_host_ansible_roles.rb +2 -0
  76. data/db/migrate/20160729094457_add_columns_to_ansible_role.rb +2 -0
  77. data/db/migrate/20160802153302_create_join_table_hostgroup_ansible_roles.rb +2 -0
  78. data/db/migrate/20160805094233_add_primary_key_hostgroup_ansible_roles.rb +2 -0
  79. data/db/migrate/20161122154057_automatically_set_role_timestamps.rb +2 -0
  80. data/db/migrate/20180410125416_rename_ansible_job_categories.rb +6 -3
  81. data/db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb +14 -0
  82. data/db/seeds.d/62_ansible_proxy_feature.rb +2 -0
  83. data/db/seeds.d/75_job_templates.rb +3 -1
  84. data/db/seeds.d/90_notification_blueprints.rb +2 -0
  85. data/lib/foreman_ansible.rb +2 -0
  86. data/lib/foreman_ansible/engine.rb +2 -0
  87. data/lib/foreman_ansible/register.rb +28 -1
  88. data/lib/foreman_ansible/remote_execution.rb +2 -0
  89. data/lib/foreman_ansible/version.rb +3 -1
  90. data/locale/action_names.rb +2 -2
  91. data/locale/de/LC_MESSAGES/foreman_ansible.mo +0 -0
  92. data/locale/de/foreman_ansible.edit.po +444 -0
  93. data/locale/de/foreman_ansible.po +56 -17
  94. data/locale/de/foreman_ansible.po.time_stamp +0 -0
  95. data/locale/en/LC_MESSAGES/foreman_ansible.mo +0 -0
  96. data/locale/en/foreman_ansible.edit.po +442 -0
  97. data/locale/en/foreman_ansible.po +56 -17
  98. data/locale/en/foreman_ansible.po.time_stamp +0 -0
  99. data/locale/es/LC_MESSAGES/foreman_ansible.mo +0 -0
  100. data/locale/es/foreman_ansible.edit.po +444 -0
  101. data/locale/es/foreman_ansible.po +56 -17
  102. data/locale/es/foreman_ansible.po.time_stamp +0 -0
  103. data/locale/foreman_ansible.pot +174 -93
  104. data/locale/fr/LC_MESSAGES/foreman_ansible.mo +0 -0
  105. data/locale/fr/foreman_ansible.edit.po +444 -0
  106. data/locale/fr/foreman_ansible.po +56 -17
  107. data/locale/fr/foreman_ansible.po.time_stamp +0 -0
  108. data/locale/it/LC_MESSAGES/foreman_ansible.mo +0 -0
  109. data/locale/it/foreman_ansible.edit.po +444 -0
  110. data/locale/it/foreman_ansible.po +56 -17
  111. data/locale/it/foreman_ansible.po.time_stamp +0 -0
  112. data/locale/ja/LC_MESSAGES/foreman_ansible.mo +0 -0
  113. data/locale/ja/foreman_ansible.edit.po +444 -0
  114. data/locale/ja/foreman_ansible.po +56 -17
  115. data/locale/ja/foreman_ansible.po.time_stamp +0 -0
  116. data/locale/ko/LC_MESSAGES/foreman_ansible.mo +0 -0
  117. data/locale/ko/foreman_ansible.edit.po +444 -0
  118. data/locale/ko/foreman_ansible.po +56 -17
  119. data/locale/ko/foreman_ansible.po.time_stamp +0 -0
  120. data/locale/pt_BR/LC_MESSAGES/foreman_ansible.mo +0 -0
  121. data/locale/pt_BR/foreman_ansible.edit.po +444 -0
  122. data/locale/pt_BR/foreman_ansible.po +56 -17
  123. data/locale/pt_BR/foreman_ansible.po.time_stamp +0 -0
  124. data/locale/ru/LC_MESSAGES/foreman_ansible.mo +0 -0
  125. data/locale/ru/foreman_ansible.edit.po +445 -0
  126. data/locale/ru/foreman_ansible.po +56 -17
  127. data/locale/ru/foreman_ansible.po.time_stamp +0 -0
  128. data/locale/zh_CN/LC_MESSAGES/foreman_ansible.mo +0 -0
  129. data/locale/zh_CN/foreman_ansible.edit.po +444 -0
  130. data/locale/zh_CN/foreman_ansible.po +56 -17
  131. data/locale/zh_CN/foreman_ansible.po.time_stamp +0 -0
  132. data/locale/zh_TW/LC_MESSAGES/foreman_ansible.mo +0 -0
  133. data/locale/zh_TW/foreman_ansible.edit.po +444 -0
  134. data/locale/zh_TW/foreman_ansible.po +56 -17
  135. data/locale/zh_TW/foreman_ansible.po.time_stamp +0 -0
  136. data/test/factories/ansible_proxy.rb +2 -0
  137. data/test/factories/ansible_roles.rb +2 -0
  138. data/test/factories/ansible_variables.rb +8 -0
  139. data/test/functional/ansible_roles_controller_test.rb +2 -0
  140. data/test/functional/ansible_variables_controller_test.rb +36 -0
  141. data/test/functional/api/v2/ansible_roles_controller_test.rb +21 -9
  142. data/test/functional/api/v2/ansible_variables_controller_test.rb +41 -0
  143. data/test/functional/api/v2/hostgroups_controller_test.rb +2 -0
  144. data/test/functional/api/v2/hosts_controller_test.rb +2 -0
  145. data/test/functional/hosts_controller_test.rb +2 -0
  146. data/test/test_plugin_helper.rb +2 -0
  147. data/test/unit/ansible_provider_test.rb +2 -0
  148. data/test/unit/ansible_role_test.rb +5 -9
  149. data/test/unit/ansible_variable_test.rb +14 -0
  150. data/test/unit/concerns/config_reports_extensions_test.rb +2 -0
  151. data/test/unit/concerns/host_managed_extensions_test.rb +2 -0
  152. data/test/unit/concerns/hostgroup_extensions_test.rb +2 -0
  153. data/test/unit/helpers/ansible_reports_helper_test.rb +2 -0
  154. data/test/unit/host_ansible_role_test.rb +2 -0
  155. data/test/unit/hostgroup_ansible_role_test.rb +2 -0
  156. data/test/unit/lib/foreman_ansible_core/command_creator_test.rb +2 -0
  157. data/test/unit/lib/foreman_ansible_core/playbook_runner_test.rb +2 -0
  158. data/test/unit/lib/proxy_api/ansible_test.rb +2 -0
  159. data/test/unit/services/ansible_report_importer_test.rb +15 -0
  160. data/test/unit/services/ansible_variables_importer_test.rb +39 -0
  161. data/test/unit/services/api_roles_importer_test.rb +2 -0
  162. data/test/unit/services/fact_importer_test.rb +2 -0
  163. data/test/unit/services/fact_parser_test.rb +47 -0
  164. data/test/unit/services/fact_sparser_test.rb +2 -0
  165. data/test/unit/services/insights_plan_runner_test.rb +2 -0
  166. data/test/unit/services/inventory_creator_test.rb +1 -13
  167. data/test/unit/services/roles_importer_test.rb +2 -0
  168. data/test/unit/services/structured_fact_importer_test.rb +2 -0
  169. data/test/unit/services/ui_roles_importer_test.rb +2 -0
  170. metadata +101 -42
  171. data/test/unit/lib/foreman_ansible_core/roles_reader_test.rb +0 -92
@@ -0,0 +1,445 @@
1
+ # Russian translations for foreman_ansible package.
2
+ # Copyright (C) 2018 THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_ansible package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: foreman_ansible 2.2.9\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "PO-Revision-Date: 2018-03-12 12:24-0400\n"
11
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
+ "Language-Team: Russian\n"
13
+ "Language: ru\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4"
18
+ " && (n%100<10 || n%100>=20) ? 1 : 2;\n"
19
+ "\n"
20
+
21
+ #: ../app/controllers/ansible_roles_controller.rb:37
22
+ msgid "Import of roles successfully finished."
23
+ msgstr ""
24
+
25
+ #: ../app/controllers/ansible_roles_controller.rb:57
26
+ msgid "No changes in roles detected."
27
+ msgstr ""
28
+
29
+ #: ../app/controllers/ansible_roles_controller.rb:58
30
+ msgid "No changes in roles detected on %s."
31
+ msgstr ""
32
+
33
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:16
34
+ msgid "Show role"
35
+ msgstr ""
36
+
37
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:20
38
+ msgid "List Ansible roles"
39
+ msgstr ""
40
+
41
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:26
42
+ msgid "Deletes Ansible role"
43
+ msgstr ""
44
+
45
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:32
46
+ msgid "Import Ansible roles"
47
+ msgstr ""
48
+
49
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:33 ../app/controllers/api/v2/ansible_roles_controller.rb:40
50
+ msgid "Smart Proxy to import from"
51
+ msgstr ""
52
+
53
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:34
54
+ msgid "Ansible role names to import"
55
+ msgstr ""
56
+
57
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:39
58
+ msgid "Obsolete Ansible roles"
59
+ msgstr ""
60
+
61
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:46
62
+ msgid "Fetch Ansible roles available to be imported"
63
+ msgstr ""
64
+
65
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:47
66
+ msgid "Smart Proxy to fetch from"
67
+ msgstr ""
68
+
69
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:15
70
+ msgid "Plays Ansible roles on a hostgroup"
71
+ msgstr ""
72
+
73
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:25
74
+ msgid "Plays Ansible roles on hostgroups"
75
+ msgstr ""
76
+
77
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:26
78
+ msgid "IDs of hostgroups to play roles on"
79
+ msgstr ""
80
+
81
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:37
82
+ msgid "List all Ansible roles for a hostgroup"
83
+ msgstr ""
84
+
85
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_param_group_extensions.rb:11 ../app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb:11
86
+ msgid "IDs of associated ansible roles"
87
+ msgstr ""
88
+
89
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:20
90
+ msgid "Plays Ansible roles on a host"
91
+ msgstr ""
92
+
93
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:29
94
+ msgid "Plays Ansible roles on hosts"
95
+ msgstr ""
96
+
97
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:30
98
+ msgid "IDs of hosts to play roles on"
99
+ msgstr ""
100
+
101
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:40
102
+ msgid "List all Ansible roles for a host"
103
+ msgstr ""
104
+
105
+ #: ../app/controllers/foreman_ansible/concerns/hostgroups_controller_extensions.rb:25
106
+ msgid "Host group has no associated hosts"
107
+ msgstr ""
108
+
109
+ #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:11
110
+ msgid "There are no Ansible roles to play"
111
+ msgstr ""
112
+
113
+ #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:13
114
+ msgid "Could not run Ansible roles for %{host}"
115
+ msgstr ""
116
+
117
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:6
118
+ msgid "From %s"
119
+ msgstr ""
120
+
121
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:13
122
+ msgid "Import"
123
+ msgstr ""
124
+
125
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:19
126
+ msgid "%s ago"
127
+ msgstr ""
128
+
129
+ #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:21 ../app/lib/actions/foreman_ansible/helpers/host_common.rb:16
130
+ msgid "Play Ansible roles"
131
+ msgstr ""
132
+
133
+ #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:40
134
+ msgid "Run Ansible roles"
135
+ msgstr ""
136
+
137
+ #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:8
138
+ msgid "Playbook execution failed"
139
+ msgstr ""
140
+
141
+ #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:28 ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:31
142
+ msgid "Error loading data from proxy"
143
+ msgstr ""
144
+
145
+ #: ../app/lib/actions/foreman_ansible/helpers/play_roles_description.rb:11
146
+ msgid "Foreman"
147
+ msgstr ""
148
+
149
+ #: ../app/lib/proxy_api/ansible.rb:25
150
+ msgid "Unable to get roles from Ansible"
151
+ msgstr ""
152
+
153
+ #: ../app/models/setting/ansible.rb:18
154
+ 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"
155
+ msgstr ""
156
+
157
+ #: ../app/models/setting/ansible.rb:23
158
+ msgid "Private Key Path"
159
+ msgstr ""
160
+
161
+ #: ../app/models/setting/ansible.rb:27
162
+ msgid "Use this connection type by default when running Ansible playbooks. You can override this on hosts by adding a parameter \"ansible_connection\""
163
+ msgstr ""
164
+
165
+ #: ../app/models/setting/ansible.rb:31
166
+ msgid "Connection type"
167
+ msgstr ""
168
+
169
+ #: ../app/models/setting/ansible.rb:35
170
+ 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\""
171
+ msgstr ""
172
+
173
+ #: ../app/models/setting/ansible.rb:40
174
+ msgid "WinRM cert Validation"
175
+ msgstr ""
176
+
177
+ #: ../app/models/setting/ansible.rb:44
178
+ msgid "Foreman will add the this level of verbosity for additional debugging output when running Ansible playbooks."
179
+ msgstr ""
180
+
181
+ #: ../app/models/setting/ansible.rb:47
182
+ msgid "Default verbosity level"
183
+ msgstr ""
184
+
185
+ #: ../app/models/setting/ansible.rb:50
186
+ msgid "Disabled"
187
+ msgstr ""
188
+
189
+ #: ../app/models/setting/ansible.rb:51
190
+ msgid "Level 1 (-v)"
191
+ msgstr ""
192
+
193
+ #: ../app/models/setting/ansible.rb:52
194
+ msgid "Level 2 (-vv)"
195
+ msgstr ""
196
+
197
+ #: ../app/models/setting/ansible.rb:53
198
+ msgid "Level 3 (-vvv)"
199
+ msgstr ""
200
+
201
+ #: ../app/models/setting/ansible.rb:54
202
+ msgid "Level 4 (-vvvv)"
203
+ msgstr ""
204
+
205
+ #: ../app/models/setting/ansible.rb:60
206
+ 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."
207
+ msgstr ""
208
+
209
+ #: ../app/models/setting/ansible.rb:65
210
+ msgid "Post-provision timeout"
211
+ msgstr ""
212
+
213
+ #: ../app/models/setting/ansible.rb:69
214
+ 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."
215
+ msgstr ""
216
+
217
+ #: ../app/models/setting/ansible.rb:75
218
+ msgid "Top level Ansible variables"
219
+ msgstr ""
220
+
221
+ #: ../app/models/setting/ansible.rb:79
222
+ msgid "Timeout (in minutes) when hosts should have reported."
223
+ msgstr ""
224
+
225
+ #: ../app/models/setting/ansible.rb:81
226
+ msgid "Ansible report timeout"
227
+ msgstr ""
228
+
229
+ #: ../app/models/setting/ansible.rb:85
230
+ msgid "Disable host configuration status turning to out of sync for %{cfgmgmt} after report does not arrive within configured interval"
231
+ msgstr ""
232
+
233
+ #: ../app/models/setting/ansible.rb:89
234
+ msgid "%{cfgmgmt} out of sync disabled"
235
+ msgstr ""
236
+
237
+ #: ../app/models/setting/ansible.rb:102 ../lib/foreman_ansible/register.rb:50
238
+ msgid "Ansible"
239
+ msgstr ""
240
+
241
+ #: ../app/services/foreman_ansible/insights_notification_builder.rb:49
242
+ msgid "Remediation Plan"
243
+ msgstr ""
244
+
245
+ #: ../app/services/foreman_ansible/insights_notification_builder.rb:59 ../db/seeds.d/90_notification_blueprints.rb:11
246
+ msgid "Job Details"
247
+ msgstr ""
248
+
249
+ #: ../app/services/foreman_ansible/roles_importer.rb:37
250
+ msgid "Proxy not found"
251
+ msgstr ""
252
+
253
+ #: ../app/views/ansible_roles/import.html.erb:1
254
+ msgid "Changed Ansible roles"
255
+ msgstr ""
256
+
257
+ #: ../app/views/ansible_roles/import.html.erb:3
258
+ msgid "Select the changes you want to realize in Foreman"
259
+ msgstr ""
260
+
261
+ #: ../app/views/ansible_roles/import.html.erb:5
262
+ msgid "Toggle"
263
+ msgstr ""
264
+
265
+ #: ../app/views/ansible_roles/import.html.erb:6
266
+ msgid "New"
267
+ msgstr ""
268
+
269
+ #: ../app/views/ansible_roles/import.html.erb:8
270
+ msgid "Check/Uncheck new"
271
+ msgstr ""
272
+
273
+ #: ../app/views/ansible_roles/import.html.erb:9
274
+ msgid "Obsolete"
275
+ msgstr ""
276
+
277
+ #: ../app/views/ansible_roles/import.html.erb:11
278
+ msgid "Check/Uncheck obsolete"
279
+ msgstr ""
280
+
281
+ #: ../app/views/ansible_roles/import.html.erb:19
282
+ msgid "Check/Uncheck all"
283
+ msgstr ""
284
+
285
+ #: ../app/views/ansible_roles/import.html.erb:21
286
+ msgid "Name"
287
+ msgstr ""
288
+
289
+ #: ../app/views/ansible_roles/import.html.erb:22
290
+ msgid "Hosts count"
291
+ msgstr ""
292
+
293
+ #: ../app/views/ansible_roles/import.html.erb:23
294
+ msgid "Hostgroups count"
295
+ msgstr ""
296
+
297
+ #: ../app/views/ansible_roles/import.html.erb:24
298
+ msgid "Operation"
299
+ msgstr ""
300
+
301
+ #: ../app/views/ansible_roles/import.html.erb:35
302
+ msgid "Check/Uncheck all %s changes"
303
+ msgstr ""
304
+
305
+ #: ../app/views/ansible_roles/import.html.erb:40
306
+ msgid "Add"
307
+ msgstr ""
308
+
309
+ #: ../app/views/ansible_roles/import.html.erb:40
310
+ msgid "Remove"
311
+ msgstr ""
312
+
313
+ #: ../app/views/ansible_roles/import.html.erb:48
314
+ msgid "Cancel"
315
+ msgstr ""
316
+
317
+ #: ../app/views/ansible_roles/import.html.erb:49
318
+ msgid "Update"
319
+ msgstr ""
320
+
321
+ #: ../app/views/ansible_roles/index.html.erb:1 ../app/views/ansible_roles/welcome.html.erb:1 ../app/views/ansible_roles/welcome.html.erb:6 ../app/views/foreman_ansible/ansible_roles/_select_tab_title.html.erb:1
322
+ msgid "Ansible Roles"
323
+ msgstr ""
324
+
325
+ #: ../app/views/ansible_roles/index.html.erb:9
326
+ msgid "Role|Name"
327
+ msgstr ""
328
+
329
+ #: ../app/views/ansible_roles/index.html.erb:10
330
+ msgid "Hostgroups"
331
+ msgstr ""
332
+
333
+ #: ../app/views/ansible_roles/index.html.erb:11
334
+ msgid "Hosts"
335
+ msgstr ""
336
+
337
+ #: ../app/views/ansible_roles/index.html.erb:12
338
+ msgid "Imported at"
339
+ msgstr ""
340
+
341
+ #: ../app/views/ansible_roles/index.html.erb:13
342
+ msgid "Actions"
343
+ msgstr ""
344
+
345
+ #: ../app/views/ansible_roles/index.html.erb:26
346
+ msgid "Delete %s?"
347
+ msgstr ""
348
+
349
+ #: ../app/views/ansible_roles/welcome.html.erb:7
350
+ msgid ""
351
+ "No ansible roles were found in Foreman. If you want to assign roles to your hosts,\n"
352
+ " you have to import them first."
353
+ msgstr ""
354
+
355
+ #: ../app/views/ansible_roles/welcome.html.erb:10
356
+ msgid "Learn more about this in the documentation."
357
+ msgstr ""
358
+
359
+ #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:5
360
+ msgid "Play Roles"
361
+ msgstr ""
362
+
363
+ #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:9
364
+ msgid "Nest"
365
+ msgstr ""
366
+
367
+ #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:10
368
+ msgid "Clone"
369
+ msgstr ""
370
+
371
+ #: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:9
372
+ msgid "Available roles"
373
+ msgstr ""
374
+
375
+ #: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:10
376
+ 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 "
377
+ msgstr ""
378
+
379
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:7
380
+ msgid "Level"
381
+ msgstr ""
382
+
383
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:8
384
+ msgid "Module"
385
+ msgstr ""
386
+
387
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:9
388
+ msgid "Arguments"
389
+ msgstr ""
390
+
391
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:10
392
+ msgid "Message"
393
+ msgstr ""
394
+
395
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:23
396
+ msgid "Nothing to show"
397
+ msgstr ""
398
+
399
+ #: ../db/seeds.d/90_notification_blueprints.rb:3
400
+ msgid "Jobs"
401
+ msgstr ""
402
+
403
+ #: ../db/seeds.d/90_notification_blueprints.rb:5
404
+ msgid "Insights remediation on %{hosts_count} host(s) has finished successfully"
405
+ msgstr ""
406
+
407
+ #: ../lib/foreman_ansible/register.rb:52
408
+ msgid "Roles"
409
+ msgstr ""
410
+
411
+ #: ../lib/foreman_ansible/remote_execution.rb:18
412
+ msgid "Ansible: Run host roles"
413
+ msgstr ""
414
+
415
+ #: ../lib/foreman_ansible/remote_execution.rb:19
416
+ msgid "Runs an Ansible playbook which contains all the roles defined for a host"
417
+ msgstr ""
418
+
419
+ #: ../lib/foreman_ansible/remote_execution.rb:24
420
+ msgid "Ansible: Run Insights maintenance plan"
421
+ msgstr ""
422
+
423
+ #: ../lib/foreman_ansible/remote_execution.rb:25
424
+ msgid "Runs a given maintenance plan from Red Hat Access Insights given an ID."
425
+ msgstr ""
426
+
427
+ #: action_names.rb:2
428
+ msgid "Action with sub plans"
429
+ msgstr ""
430
+
431
+ #: action_names.rb:3
432
+ msgid "Import facts"
433
+ msgstr ""
434
+
435
+ #: action_names.rb:4
436
+ msgid "Import Puppet classes"
437
+ msgstr ""
438
+
439
+ #: action_names.rb:5
440
+ msgid "Remote action:"
441
+ msgstr ""
442
+
443
+ #: gemspec.rb:2
444
+ msgid "Ansible support in Foreman"
445
+ msgstr ""
@@ -5,7 +5,7 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_ansible 2.2.9\n"
8
+ "Project-Id-Version: foreman_ansible 2.2.6\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"
@@ -36,13 +36,19 @@ msgstr ""
36
36
  msgid "Ansible"
37
37
  msgstr ""
38
38
 
39
+ msgid "Ansible Role"
40
+ msgstr ""
41
+
39
42
  msgid "Ansible Roles"
40
43
  msgstr ""
41
44
 
45
+ msgid "Ansible Variables"
46
+ msgstr ""
47
+
42
48
  msgid "Ansible report timeout"
43
49
  msgstr ""
44
50
 
45
- msgid "Ansible role names to import"
51
+ msgid "Ansible role"
46
52
  msgstr ""
47
53
 
48
54
  msgid "Ansible support in Foreman"
@@ -60,12 +66,18 @@ msgstr ""
60
66
  msgid "Available roles"
61
67
  msgstr ""
62
68
 
69
+ msgid "Before including these variables on your playbooks, Foreman will validate that your variables comply with the validation."
70
+ msgstr ""
71
+
63
72
  msgid "Cancel"
64
73
  msgstr ""
65
74
 
66
75
  msgid "Changed Ansible roles"
67
76
  msgstr ""
68
77
 
78
+ msgid "Changed Ansible variables"
79
+ msgstr ""
80
+
69
81
  msgid "Check/Uncheck all"
70
82
  msgstr ""
71
83
 
@@ -96,19 +108,25 @@ msgstr ""
96
108
  msgid "Deletes Ansible role"
97
109
  msgstr ""
98
110
 
111
+ msgid "Deletes Ansible variable"
112
+ msgstr ""
113
+
99
114
  msgid "Disable host configuration status turning to out of sync for %{cfgmgmt} after report does not arrive within configured interval"
100
115
  msgstr ""
101
116
 
102
117
  msgid "Disabled"
103
118
  msgstr ""
104
119
 
105
- 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\""
120
+ msgid "Edit %s"
106
121
  msgstr ""
107
122
 
108
- msgid "Error loading data from proxy"
123
+ msgid "Edit Ansible Variable"
109
124
  msgstr ""
110
125
 
111
- msgid "Fetch Ansible roles available to be imported"
126
+ 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\""
127
+ msgstr ""
128
+
129
+ msgid "Error loading data from proxy"
112
130
  msgstr ""
113
131
 
114
132
  msgid "Foreman"
@@ -138,10 +156,7 @@ msgstr ""
138
156
  msgid "IDs of associated ansible roles"
139
157
  msgstr ""
140
158
 
141
- msgid "IDs of hostgroups to play roles on"
142
- msgstr ""
143
-
144
- msgid "IDs of hosts to play roles on"
159
+ 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."
145
160
  msgstr ""
146
161
 
147
162
  msgid "Import"
@@ -150,6 +165,9 @@ msgstr ""
150
165
  msgid "Import Ansible roles"
151
166
  msgstr ""
152
167
 
168
+ msgid "Import Ansible variables. This will only import variables for already existing roles, it will not import any new roles"
169
+ msgstr ""
170
+
153
171
  msgid "Import Puppet classes"
154
172
  msgstr ""
155
173
 
@@ -159,6 +177,12 @@ msgstr ""
159
177
  msgid "Import of roles successfully finished."
160
178
  msgstr ""
161
179
 
180
+ msgid ""
181
+ "Import of variables successfully finished.\n"
182
+ "Added: #{results[:added].join(', ')} \n"
183
+ " Removed: #{results[:obsolete].join(', ')}"
184
+ msgstr ""
185
+
162
186
  msgid "Imported at"
163
187
  msgstr ""
164
188
 
@@ -192,10 +216,7 @@ msgstr ""
192
216
  msgid "List Ansible roles"
193
217
  msgstr ""
194
218
 
195
- msgid "List all Ansible roles for a host"
196
- msgstr ""
197
-
198
- msgid "List all Ansible roles for a hostgroup"
219
+ msgid "List Ansible variables"
199
220
  msgstr ""
200
221
 
201
222
  msgid "Message"
@@ -224,6 +245,9 @@ msgstr ""
224
245
  msgid "No changes in roles detected."
225
246
  msgstr ""
226
247
 
248
+ msgid "No proxy found to import variables from, ensure that the smart proxy has the Ansible feature enabled."
249
+ msgstr ""
250
+
227
251
  msgid "Nothing to show"
228
252
  msgstr ""
229
253
 
@@ -233,6 +257,9 @@ msgstr ""
233
257
  msgid "Obsolete Ansible roles"
234
258
  msgstr ""
235
259
 
260
+ msgid "Obsolete Ansible variables. This will only obsolete variables for already existing roles, it will not delete any old roles"
261
+ msgstr ""
262
+
236
263
  msgid "Operation"
237
264
  msgstr ""
238
265
 
@@ -296,15 +323,12 @@ msgstr ""
296
323
  msgid "Show role"
297
324
  msgstr ""
298
325
 
299
- msgid "Smart Proxy to fetch from"
326
+ msgid "Show variable"
300
327
  msgstr ""
301
328
 
302
329
  msgid "Smart Proxy to import from"
303
330
  msgstr ""
304
331
 
305
- msgid "There are no Ansible roles to play"
306
- msgstr ""
307
-
308
332
  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 "
309
333
  msgstr ""
310
334
 
@@ -320,9 +344,15 @@ msgstr ""
320
344
  msgid "Top level Ansible variables"
321
345
  msgstr ""
322
346
 
347
+ msgid "Type"
348
+ msgstr ""
349
+
323
350
  msgid "Unable to get roles from Ansible"
324
351
  msgstr ""
325
352
 
353
+ msgid "Unable to get roles/variables from Ansible"
354
+ msgstr ""
355
+
326
356
  msgid "Update"
327
357
  msgstr ""
328
358
 
@@ -332,6 +362,15 @@ msgstr ""
332
362
  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"
333
363
  msgstr ""
334
364
 
365
+ msgid "Variables"
366
+ msgstr ""
367
+
368
+ msgid "Variable|Name"
369
+ msgstr ""
370
+
371
+ msgid "Variable|Role"
372
+ msgstr ""
373
+
335
374
  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."
336
375
  msgstr ""
337
376