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,444 @@
1
+ # Chinese 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: Chinese\n"
13
+ "Language: zh_CN\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=1; plural=0;\n"
18
+ "\n"
19
+
20
+ #: ../app/controllers/ansible_roles_controller.rb:37
21
+ msgid "Import of roles successfully finished."
22
+ msgstr ""
23
+
24
+ #: ../app/controllers/ansible_roles_controller.rb:57
25
+ msgid "No changes in roles detected."
26
+ msgstr ""
27
+
28
+ #: ../app/controllers/ansible_roles_controller.rb:58
29
+ msgid "No changes in roles detected on %s."
30
+ msgstr ""
31
+
32
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:16
33
+ msgid "Show role"
34
+ msgstr ""
35
+
36
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:20
37
+ msgid "List Ansible roles"
38
+ msgstr ""
39
+
40
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:26
41
+ msgid "Deletes Ansible role"
42
+ msgstr ""
43
+
44
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:32
45
+ msgid "Import Ansible roles"
46
+ msgstr ""
47
+
48
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:33 ../app/controllers/api/v2/ansible_roles_controller.rb:40
49
+ msgid "Smart Proxy to import from"
50
+ msgstr ""
51
+
52
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:34
53
+ msgid "Ansible role names to import"
54
+ msgstr ""
55
+
56
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:39
57
+ msgid "Obsolete Ansible roles"
58
+ msgstr ""
59
+
60
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:46
61
+ msgid "Fetch Ansible roles available to be imported"
62
+ msgstr ""
63
+
64
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:47
65
+ msgid "Smart Proxy to fetch from"
66
+ msgstr ""
67
+
68
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:15
69
+ msgid "Plays Ansible roles on a hostgroup"
70
+ msgstr ""
71
+
72
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:25
73
+ msgid "Plays Ansible roles on hostgroups"
74
+ msgstr ""
75
+
76
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:26
77
+ msgid "IDs of hostgroups to play roles on"
78
+ msgstr ""
79
+
80
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:37
81
+ msgid "List all Ansible roles for a hostgroup"
82
+ msgstr ""
83
+
84
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_param_group_extensions.rb:11 ../app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb:11
85
+ msgid "IDs of associated ansible roles"
86
+ msgstr ""
87
+
88
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:20
89
+ msgid "Plays Ansible roles on a host"
90
+ msgstr ""
91
+
92
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:29
93
+ msgid "Plays Ansible roles on hosts"
94
+ msgstr ""
95
+
96
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:30
97
+ msgid "IDs of hosts to play roles on"
98
+ msgstr ""
99
+
100
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:40
101
+ msgid "List all Ansible roles for a host"
102
+ msgstr ""
103
+
104
+ #: ../app/controllers/foreman_ansible/concerns/hostgroups_controller_extensions.rb:25
105
+ msgid "Host group has no associated hosts"
106
+ msgstr ""
107
+
108
+ #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:11
109
+ msgid "There are no Ansible roles to play"
110
+ msgstr ""
111
+
112
+ #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:13
113
+ msgid "Could not run Ansible roles for %{host}"
114
+ msgstr ""
115
+
116
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:6
117
+ msgid "From %s"
118
+ msgstr ""
119
+
120
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:13
121
+ msgid "Import"
122
+ msgstr ""
123
+
124
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:19
125
+ msgid "%s ago"
126
+ msgstr ""
127
+
128
+ #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:21 ../app/lib/actions/foreman_ansible/helpers/host_common.rb:16
129
+ msgid "Play Ansible roles"
130
+ msgstr ""
131
+
132
+ #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:40
133
+ msgid "Run Ansible roles"
134
+ msgstr ""
135
+
136
+ #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:8
137
+ msgid "Playbook execution failed"
138
+ msgstr ""
139
+
140
+ #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:28 ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:31
141
+ msgid "Error loading data from proxy"
142
+ msgstr ""
143
+
144
+ #: ../app/lib/actions/foreman_ansible/helpers/play_roles_description.rb:11
145
+ msgid "Foreman"
146
+ msgstr ""
147
+
148
+ #: ../app/lib/proxy_api/ansible.rb:25
149
+ msgid "Unable to get roles from Ansible"
150
+ msgstr ""
151
+
152
+ #: ../app/models/setting/ansible.rb:18
153
+ 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"
154
+ msgstr ""
155
+
156
+ #: ../app/models/setting/ansible.rb:23
157
+ msgid "Private Key Path"
158
+ msgstr ""
159
+
160
+ #: ../app/models/setting/ansible.rb:27
161
+ msgid "Use this connection type by default when running Ansible playbooks. You can override this on hosts by adding a parameter \"ansible_connection\""
162
+ msgstr ""
163
+
164
+ #: ../app/models/setting/ansible.rb:31
165
+ msgid "Connection type"
166
+ msgstr ""
167
+
168
+ #: ../app/models/setting/ansible.rb:35
169
+ 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\""
170
+ msgstr ""
171
+
172
+ #: ../app/models/setting/ansible.rb:40
173
+ msgid "WinRM cert Validation"
174
+ msgstr ""
175
+
176
+ #: ../app/models/setting/ansible.rb:44
177
+ msgid "Foreman will add the this level of verbosity for additional debugging output when running Ansible playbooks."
178
+ msgstr ""
179
+
180
+ #: ../app/models/setting/ansible.rb:47
181
+ msgid "Default verbosity level"
182
+ msgstr ""
183
+
184
+ #: ../app/models/setting/ansible.rb:50
185
+ msgid "Disabled"
186
+ msgstr ""
187
+
188
+ #: ../app/models/setting/ansible.rb:51
189
+ msgid "Level 1 (-v)"
190
+ msgstr ""
191
+
192
+ #: ../app/models/setting/ansible.rb:52
193
+ msgid "Level 2 (-vv)"
194
+ msgstr ""
195
+
196
+ #: ../app/models/setting/ansible.rb:53
197
+ msgid "Level 3 (-vvv)"
198
+ msgstr ""
199
+
200
+ #: ../app/models/setting/ansible.rb:54
201
+ msgid "Level 4 (-vvvv)"
202
+ msgstr ""
203
+
204
+ #: ../app/models/setting/ansible.rb:60
205
+ 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."
206
+ msgstr ""
207
+
208
+ #: ../app/models/setting/ansible.rb:65
209
+ msgid "Post-provision timeout"
210
+ msgstr ""
211
+
212
+ #: ../app/models/setting/ansible.rb:69
213
+ 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."
214
+ msgstr ""
215
+
216
+ #: ../app/models/setting/ansible.rb:75
217
+ msgid "Top level Ansible variables"
218
+ msgstr ""
219
+
220
+ #: ../app/models/setting/ansible.rb:79
221
+ msgid "Timeout (in minutes) when hosts should have reported."
222
+ msgstr ""
223
+
224
+ #: ../app/models/setting/ansible.rb:81
225
+ msgid "Ansible report timeout"
226
+ msgstr ""
227
+
228
+ #: ../app/models/setting/ansible.rb:85
229
+ msgid "Disable host configuration status turning to out of sync for %{cfgmgmt} after report does not arrive within configured interval"
230
+ msgstr ""
231
+
232
+ #: ../app/models/setting/ansible.rb:89
233
+ msgid "%{cfgmgmt} out of sync disabled"
234
+ msgstr ""
235
+
236
+ #: ../app/models/setting/ansible.rb:102 ../lib/foreman_ansible/register.rb:50
237
+ msgid "Ansible"
238
+ msgstr ""
239
+
240
+ #: ../app/services/foreman_ansible/insights_notification_builder.rb:49
241
+ msgid "Remediation Plan"
242
+ msgstr ""
243
+
244
+ #: ../app/services/foreman_ansible/insights_notification_builder.rb:59 ../db/seeds.d/90_notification_blueprints.rb:11
245
+ msgid "Job Details"
246
+ msgstr ""
247
+
248
+ #: ../app/services/foreman_ansible/roles_importer.rb:37
249
+ msgid "Proxy not found"
250
+ msgstr ""
251
+
252
+ #: ../app/views/ansible_roles/import.html.erb:1
253
+ msgid "Changed Ansible roles"
254
+ msgstr ""
255
+
256
+ #: ../app/views/ansible_roles/import.html.erb:3
257
+ msgid "Select the changes you want to realize in Foreman"
258
+ msgstr ""
259
+
260
+ #: ../app/views/ansible_roles/import.html.erb:5
261
+ msgid "Toggle"
262
+ msgstr ""
263
+
264
+ #: ../app/views/ansible_roles/import.html.erb:6
265
+ msgid "New"
266
+ msgstr ""
267
+
268
+ #: ../app/views/ansible_roles/import.html.erb:8
269
+ msgid "Check/Uncheck new"
270
+ msgstr ""
271
+
272
+ #: ../app/views/ansible_roles/import.html.erb:9
273
+ msgid "Obsolete"
274
+ msgstr ""
275
+
276
+ #: ../app/views/ansible_roles/import.html.erb:11
277
+ msgid "Check/Uncheck obsolete"
278
+ msgstr ""
279
+
280
+ #: ../app/views/ansible_roles/import.html.erb:19
281
+ msgid "Check/Uncheck all"
282
+ msgstr ""
283
+
284
+ #: ../app/views/ansible_roles/import.html.erb:21
285
+ msgid "Name"
286
+ msgstr ""
287
+
288
+ #: ../app/views/ansible_roles/import.html.erb:22
289
+ msgid "Hosts count"
290
+ msgstr ""
291
+
292
+ #: ../app/views/ansible_roles/import.html.erb:23
293
+ msgid "Hostgroups count"
294
+ msgstr ""
295
+
296
+ #: ../app/views/ansible_roles/import.html.erb:24
297
+ msgid "Operation"
298
+ msgstr ""
299
+
300
+ #: ../app/views/ansible_roles/import.html.erb:35
301
+ msgid "Check/Uncheck all %s changes"
302
+ msgstr ""
303
+
304
+ #: ../app/views/ansible_roles/import.html.erb:40
305
+ msgid "Add"
306
+ msgstr ""
307
+
308
+ #: ../app/views/ansible_roles/import.html.erb:40
309
+ msgid "Remove"
310
+ msgstr ""
311
+
312
+ #: ../app/views/ansible_roles/import.html.erb:48
313
+ msgid "Cancel"
314
+ msgstr ""
315
+
316
+ #: ../app/views/ansible_roles/import.html.erb:49
317
+ msgid "Update"
318
+ msgstr ""
319
+
320
+ #: ../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
321
+ msgid "Ansible Roles"
322
+ msgstr ""
323
+
324
+ #: ../app/views/ansible_roles/index.html.erb:9
325
+ msgid "Role|Name"
326
+ msgstr ""
327
+
328
+ #: ../app/views/ansible_roles/index.html.erb:10
329
+ msgid "Hostgroups"
330
+ msgstr ""
331
+
332
+ #: ../app/views/ansible_roles/index.html.erb:11
333
+ msgid "Hosts"
334
+ msgstr ""
335
+
336
+ #: ../app/views/ansible_roles/index.html.erb:12
337
+ msgid "Imported at"
338
+ msgstr ""
339
+
340
+ #: ../app/views/ansible_roles/index.html.erb:13
341
+ msgid "Actions"
342
+ msgstr ""
343
+
344
+ #: ../app/views/ansible_roles/index.html.erb:26
345
+ msgid "Delete %s?"
346
+ msgstr ""
347
+
348
+ #: ../app/views/ansible_roles/welcome.html.erb:7
349
+ msgid ""
350
+ "No ansible roles were found in Foreman. If you want to assign roles to your hosts,\n"
351
+ " you have to import them first."
352
+ msgstr ""
353
+
354
+ #: ../app/views/ansible_roles/welcome.html.erb:10
355
+ msgid "Learn more about this in the documentation."
356
+ msgstr ""
357
+
358
+ #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:5
359
+ msgid "Play Roles"
360
+ msgstr ""
361
+
362
+ #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:9
363
+ msgid "Nest"
364
+ msgstr ""
365
+
366
+ #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:10
367
+ msgid "Clone"
368
+ msgstr ""
369
+
370
+ #: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:9
371
+ msgid "Available roles"
372
+ msgstr ""
373
+
374
+ #: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:10
375
+ 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 "
376
+ msgstr ""
377
+
378
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:7
379
+ msgid "Level"
380
+ msgstr ""
381
+
382
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:8
383
+ msgid "Module"
384
+ msgstr ""
385
+
386
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:9
387
+ msgid "Arguments"
388
+ msgstr ""
389
+
390
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:10
391
+ msgid "Message"
392
+ msgstr ""
393
+
394
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:23
395
+ msgid "Nothing to show"
396
+ msgstr ""
397
+
398
+ #: ../db/seeds.d/90_notification_blueprints.rb:3
399
+ msgid "Jobs"
400
+ msgstr ""
401
+
402
+ #: ../db/seeds.d/90_notification_blueprints.rb:5
403
+ msgid "Insights remediation on %{hosts_count} host(s) has finished successfully"
404
+ msgstr ""
405
+
406
+ #: ../lib/foreman_ansible/register.rb:52
407
+ msgid "Roles"
408
+ msgstr ""
409
+
410
+ #: ../lib/foreman_ansible/remote_execution.rb:18
411
+ msgid "Ansible: Run host roles"
412
+ msgstr ""
413
+
414
+ #: ../lib/foreman_ansible/remote_execution.rb:19
415
+ msgid "Runs an Ansible playbook which contains all the roles defined for a host"
416
+ msgstr ""
417
+
418
+ #: ../lib/foreman_ansible/remote_execution.rb:24
419
+ msgid "Ansible: Run Insights maintenance plan"
420
+ msgstr ""
421
+
422
+ #: ../lib/foreman_ansible/remote_execution.rb:25
423
+ msgid "Runs a given maintenance plan from Red Hat Access Insights given an ID."
424
+ msgstr ""
425
+
426
+ #: action_names.rb:2
427
+ msgid "Action with sub plans"
428
+ msgstr ""
429
+
430
+ #: action_names.rb:3
431
+ msgid "Import facts"
432
+ msgstr ""
433
+
434
+ #: action_names.rb:4
435
+ msgid "Import Puppet classes"
436
+ msgstr ""
437
+
438
+ #: action_names.rb:5
439
+ msgid "Remote action:"
440
+ msgstr ""
441
+
442
+ #: gemspec.rb:2
443
+ msgid "Ansible support in Foreman"
444
+ 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"
@@ -35,13 +35,19 @@ msgstr ""
35
35
  msgid "Ansible"
36
36
  msgstr ""
37
37
 
38
+ msgid "Ansible Role"
39
+ msgstr ""
40
+
38
41
  msgid "Ansible Roles"
39
42
  msgstr ""
40
43
 
44
+ msgid "Ansible Variables"
45
+ msgstr ""
46
+
41
47
  msgid "Ansible report timeout"
42
48
  msgstr ""
43
49
 
44
- msgid "Ansible role names to import"
50
+ msgid "Ansible role"
45
51
  msgstr ""
46
52
 
47
53
  msgid "Ansible support in Foreman"
@@ -59,12 +65,18 @@ msgstr ""
59
65
  msgid "Available roles"
60
66
  msgstr ""
61
67
 
68
+ msgid "Before including these variables on your playbooks, Foreman will validate that your variables comply with the validation."
69
+ msgstr ""
70
+
62
71
  msgid "Cancel"
63
72
  msgstr ""
64
73
 
65
74
  msgid "Changed Ansible roles"
66
75
  msgstr ""
67
76
 
77
+ msgid "Changed Ansible variables"
78
+ msgstr ""
79
+
68
80
  msgid "Check/Uncheck all"
69
81
  msgstr ""
70
82
 
@@ -95,19 +107,25 @@ msgstr ""
95
107
  msgid "Deletes Ansible role"
96
108
  msgstr ""
97
109
 
110
+ msgid "Deletes Ansible variable"
111
+ msgstr ""
112
+
98
113
  msgid "Disable host configuration status turning to out of sync for %{cfgmgmt} after report does not arrive within configured interval"
99
114
  msgstr ""
100
115
 
101
116
  msgid "Disabled"
102
117
  msgstr ""
103
118
 
104
- 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\""
119
+ msgid "Edit %s"
105
120
  msgstr ""
106
121
 
107
- msgid "Error loading data from proxy"
122
+ msgid "Edit Ansible Variable"
108
123
  msgstr ""
109
124
 
110
- msgid "Fetch Ansible roles available to be imported"
125
+ 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\""
126
+ msgstr ""
127
+
128
+ msgid "Error loading data from proxy"
111
129
  msgstr ""
112
130
 
113
131
  msgid "Foreman"
@@ -137,10 +155,7 @@ msgstr ""
137
155
  msgid "IDs of associated ansible roles"
138
156
  msgstr ""
139
157
 
140
- msgid "IDs of hostgroups to play roles on"
141
- msgstr ""
142
-
143
- msgid "IDs of hosts to play roles on"
158
+ 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."
144
159
  msgstr ""
145
160
 
146
161
  msgid "Import"
@@ -149,6 +164,9 @@ msgstr ""
149
164
  msgid "Import Ansible roles"
150
165
  msgstr ""
151
166
 
167
+ msgid "Import Ansible variables. This will only import variables for already existing roles, it will not import any new roles"
168
+ msgstr ""
169
+
152
170
  msgid "Import Puppet classes"
153
171
  msgstr ""
154
172
 
@@ -158,6 +176,12 @@ msgstr ""
158
176
  msgid "Import of roles successfully finished."
159
177
  msgstr ""
160
178
 
179
+ msgid ""
180
+ "Import of variables successfully finished.\n"
181
+ "Added: #{results[:added].join(', ')} \n"
182
+ " Removed: #{results[:obsolete].join(', ')}"
183
+ msgstr ""
184
+
161
185
  msgid "Imported at"
162
186
  msgstr ""
163
187
 
@@ -191,10 +215,7 @@ msgstr ""
191
215
  msgid "List Ansible roles"
192
216
  msgstr ""
193
217
 
194
- msgid "List all Ansible roles for a host"
195
- msgstr ""
196
-
197
- msgid "List all Ansible roles for a hostgroup"
218
+ msgid "List Ansible variables"
198
219
  msgstr ""
199
220
 
200
221
  msgid "Message"
@@ -223,6 +244,9 @@ msgstr ""
223
244
  msgid "No changes in roles detected."
224
245
  msgstr ""
225
246
 
247
+ msgid "No proxy found to import variables from, ensure that the smart proxy has the Ansible feature enabled."
248
+ msgstr ""
249
+
226
250
  msgid "Nothing to show"
227
251
  msgstr ""
228
252
 
@@ -232,6 +256,9 @@ msgstr ""
232
256
  msgid "Obsolete Ansible roles"
233
257
  msgstr ""
234
258
 
259
+ msgid "Obsolete Ansible variables. This will only obsolete variables for already existing roles, it will not delete any old roles"
260
+ msgstr ""
261
+
235
262
  msgid "Operation"
236
263
  msgstr ""
237
264
 
@@ -295,15 +322,12 @@ msgstr ""
295
322
  msgid "Show role"
296
323
  msgstr ""
297
324
 
298
- msgid "Smart Proxy to fetch from"
325
+ msgid "Show variable"
299
326
  msgstr ""
300
327
 
301
328
  msgid "Smart Proxy to import from"
302
329
  msgstr ""
303
330
 
304
- msgid "There are no Ansible roles to play"
305
- msgstr ""
306
-
307
331
  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 "
308
332
  msgstr ""
309
333
 
@@ -319,9 +343,15 @@ msgstr ""
319
343
  msgid "Top level Ansible variables"
320
344
  msgstr ""
321
345
 
346
+ msgid "Type"
347
+ msgstr ""
348
+
322
349
  msgid "Unable to get roles from Ansible"
323
350
  msgstr ""
324
351
 
352
+ msgid "Unable to get roles/variables from Ansible"
353
+ msgstr ""
354
+
325
355
  msgid "Update"
326
356
  msgstr ""
327
357
 
@@ -331,6 +361,15 @@ msgstr ""
331
361
  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"
332
362
  msgstr ""
333
363
 
364
+ msgid "Variables"
365
+ msgstr ""
366
+
367
+ msgid "Variable|Name"
368
+ msgstr ""
369
+
370
+ msgid "Variable|Role"
371
+ msgstr ""
372
+
334
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."
335
374
  msgstr ""
336
375