foreman_ansible 2.3.4 → 2.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/app/helpers/foreman_ansible/ansible_roles_helper.rb +0 -4
  3. data/app/models/ansible_role.rb +0 -1
  4. data/app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb +13 -21
  5. data/config/routes.rb +1 -3
  6. data/lib/foreman_ansible/register.rb +1 -2
  7. data/lib/foreman_ansible/version.rb +1 -1
  8. data/locale/de/LC_MESSAGES/foreman_ansible.mo +0 -0
  9. data/locale/de/foreman_ansible.edit.po +696 -0
  10. data/locale/de/foreman_ansible.po.time_stamp +0 -0
  11. data/locale/en/LC_MESSAGES/foreman_ansible.mo +0 -0
  12. data/locale/en/foreman_ansible.edit.po +694 -0
  13. data/locale/en/foreman_ansible.po.time_stamp +0 -0
  14. data/locale/es/LC_MESSAGES/foreman_ansible.mo +0 -0
  15. data/locale/es/foreman_ansible.edit.po +696 -0
  16. data/locale/es/foreman_ansible.po.time_stamp +0 -0
  17. data/locale/fr/LC_MESSAGES/foreman_ansible.mo +0 -0
  18. data/locale/fr/foreman_ansible.edit.po +696 -0
  19. data/locale/fr/foreman_ansible.po.time_stamp +0 -0
  20. data/locale/it/LC_MESSAGES/foreman_ansible.mo +0 -0
  21. data/locale/it/foreman_ansible.edit.po +696 -0
  22. data/locale/it/foreman_ansible.po.time_stamp +0 -0
  23. data/locale/ja/LC_MESSAGES/foreman_ansible.mo +0 -0
  24. data/locale/ja/foreman_ansible.edit.po +696 -0
  25. data/locale/ja/foreman_ansible.po.time_stamp +0 -0
  26. data/locale/ko/LC_MESSAGES/foreman_ansible.mo +0 -0
  27. data/locale/ko/foreman_ansible.edit.po +696 -0
  28. data/locale/ko/foreman_ansible.po.time_stamp +0 -0
  29. data/locale/pt_BR/LC_MESSAGES/foreman_ansible.mo +0 -0
  30. data/locale/pt_BR/foreman_ansible.edit.po +696 -0
  31. data/locale/pt_BR/foreman_ansible.po.time_stamp +0 -0
  32. data/locale/ru/LC_MESSAGES/foreman_ansible.mo +0 -0
  33. data/locale/ru/foreman_ansible.edit.po +697 -0
  34. data/locale/ru/foreman_ansible.po.time_stamp +0 -0
  35. data/locale/zh_CN/LC_MESSAGES/foreman_ansible.mo +0 -0
  36. data/locale/zh_CN/foreman_ansible.edit.po +696 -0
  37. data/locale/zh_CN/foreman_ansible.po.time_stamp +0 -0
  38. data/locale/zh_TW/LC_MESSAGES/foreman_ansible.mo +0 -0
  39. data/locale/zh_TW/foreman_ansible.edit.po +696 -0
  40. data/locale/zh_TW/foreman_ansible.po.time_stamp +0 -0
  41. data/package.json +9 -50
  42. data/webpack/components/ReportJsonViewer.js +7 -11
  43. data/webpack/index.js +1 -25
  44. metadata +65 -73
  45. data/app/controllers/ui_ansible_roles_controller.rb +0 -14
  46. data/app/views/ui_ansible_roles/index.json.rabl +0 -3
  47. data/app/views/ui_ansible_roles/main.json.rabl +0 -3
  48. data/app/views/ui_ansible_roles/show.json.rabl +0 -3
  49. data/test/functional/ui_ansible_roles_controller_test.rb +0 -14
  50. data/webpack/__mocks__/foremanReact/components/Pagination/PaginationWrapper.js +0 -2
  51. data/webpack/__mocks__/foremanReact/components/common/EmptyState.js +0 -5
  52. data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcher.js +0 -140
  53. data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcher.scss +0 -45
  54. data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcherActions.js +0 -69
  55. data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcherConstants.js +0 -7
  56. data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcherHelpers.js +0 -7
  57. data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcherReducer.js +0 -69
  58. data/webpack/components/AnsibleRolesSwitcher/AnsibleRolesSwitcherSelectors.js +0 -68
  59. data/webpack/components/AnsibleRolesSwitcher/__fixtures__/ansibleRolesData.fixtures.js +0 -20
  60. data/webpack/components/AnsibleRolesSwitcher/__fixtures__/ansibleRolesSwitcherReducer.fixtures.js +0 -36
  61. data/webpack/components/AnsibleRolesSwitcher/__tests__/AnsibleRolesSwitcher.test.js +0 -30
  62. data/webpack/components/AnsibleRolesSwitcher/__tests__/AnsibleRolesSwitcherReducer.test.js +0 -73
  63. data/webpack/components/AnsibleRolesSwitcher/__tests__/AnsibleRolesSwitcherSelectors.test.js +0 -43
  64. data/webpack/components/AnsibleRolesSwitcher/__tests__/__snapshots__/AnsibleRolesSwitcher.test.js.snap +0 -79
  65. data/webpack/components/AnsibleRolesSwitcher/__tests__/__snapshots__/AnsibleRolesSwitcherReducer.test.js.snap +0 -399
  66. data/webpack/components/AnsibleRolesSwitcher/__tests__/__snapshots__/AnsibleRolesSwitcherSelectors.test.js.snap +0 -60
  67. data/webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.js +0 -33
  68. data/webpack/components/AnsibleRolesSwitcher/components/AnsiblePermissionDenied.test.js +0 -9
  69. data/webpack/components/AnsibleRolesSwitcher/components/AnsibleRole.js +0 -56
  70. data/webpack/components/AnsibleRolesSwitcher/components/AnsibleRole.test.js +0 -26
  71. data/webpack/components/AnsibleRolesSwitcher/components/AnsibleRoleActionButton.js +0 -16
  72. data/webpack/components/AnsibleRolesSwitcher/components/AnsibleRolesSwitcherError.js +0 -32
  73. data/webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.js +0 -67
  74. data/webpack/components/AnsibleRolesSwitcher/components/AssignedRolesList.test.js +0 -19
  75. data/webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.js +0 -52
  76. data/webpack/components/AnsibleRolesSwitcher/components/AvailableRolesList.test.js +0 -22
  77. data/webpack/components/AnsibleRolesSwitcher/components/__snapshots__/AnsiblePermissionDenied.test.js.snap +0 -26
  78. data/webpack/components/AnsibleRolesSwitcher/components/__snapshots__/AnsibleRole.test.js.snap +0 -108
  79. data/webpack/components/AnsibleRolesSwitcher/components/__snapshots__/AssignedRolesList.test.js.snap +0 -64
  80. data/webpack/components/AnsibleRolesSwitcher/components/__snapshots__/AvailableRolesList.test.js.snap +0 -54
  81. data/webpack/components/AnsibleRolesSwitcher/components/withProtectedView.js +0 -14
  82. data/webpack/components/AnsibleRolesSwitcher/index.js +0 -44
  83. data/webpack/reducer.js +0 -7
  84. data/webpack/test_setup.js +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c5ceef1359d331a5cfa27bcf7e5cf85b0436dc56
4
- data.tar.gz: 5102c4ba0ea312a0b9da1cb946f0c5dacde989d8
3
+ metadata.gz: 407cb1e872270fd04303450f9c339a832007e317
4
+ data.tar.gz: 301984405fe13211a031e4f062a90b30b6ed7b20
5
5
  SHA512:
6
- metadata.gz: d4d51dd30a186c544453c54ca93514327a7f5b7871aaf23cdb503b0c93a9935033b5996f9d2aecbfcb19d1e30dd627a8ea491ed4d316f2f9ead9cfc25b5bfb94
7
- data.tar.gz: a984a61e41842bf684c2be86396c3455bd4ebc2e107697e139516ece8fe2deb883a04aa919c81528c5ed0fc2eb1b96be19e8fce987c368794c5c23871496d23b
6
+ metadata.gz: 620f9f43f25cf84ccf348747595c03f553394dab9d73ee6dd558fbfd73b54e51df596b8b059108c67489583eb01632b3c7634cb204434211dac07db15bd6e405
7
+ data.tar.gz: 79bfc049ec9ce0863f383fa5887b3089cd59018bd68490525c723c941edc8f67671583d3ab79504e73a6efa2ef9fc619f5c62d271d97efc257a9c1adc3f64751
@@ -34,9 +34,5 @@ module ForemanAnsible
34
34
  def import_time(role)
35
35
  _('%s ago') % time_ago_in_words(role.updated_at)
36
36
  end
37
-
38
- def roles_attrs(roles)
39
- roles.map { |item| { :id => item.id, :name => item.name } }
40
- end
41
37
  end
42
38
  end
@@ -17,7 +17,6 @@ class AnsibleRole < ApplicationRecord
17
17
  :class_name => 'AnsibleVariable'
18
18
 
19
19
  scoped_search :on => :name, :complete_value => true
20
- scoped_search :on => :id, :complete_value => false
21
20
  scoped_search :on => :updated_at
22
21
  scoped_search :relation => :hosts,
23
22
  :on => :id, :rename => :host_id, :only_explicit => true
@@ -1,23 +1,15 @@
1
- <%= webpacked_plugins_js_for :foreman_ansible %>
2
- <%= webpacked_plugins_css_for :foreman_ansible %>
3
-
4
1
  <div class='tab-pane' id='ansible_roles'>
5
- <% roles = f.object.is_a?(Hostgroup) ? roles_attrs(f.object.inherited_and_own_ansible_roles) : roles_attrs(f.object.all_ansible_roles) %>
6
- <% class_name = f.object.is_a?(Hostgroup) ? 'Hostgroup' : 'Host' %>
7
- <%= content_tag(:div, '',
8
- :id => 'ansible_roles_switcher',
9
- 'data-roles' => {
10
- :initialAssignedRoles => roles,
11
- :inheritedRoleIds => f.object.inherited_ansible_roles.map(&:id),
12
- :availableRolesUrl => ui_ansible_roles_path,
13
- :resourceId => f.object.id,
14
- :resourceName => class_name,
15
- :canView => User.current.can?(:view_ansible_roles)
16
- }.to_json
17
- ) %>
18
- <% unless request.xhr? %>
19
- <script type="text/javascript">
20
- tfm.initAnsibleRoleSwitcher();
21
- </script>
22
- <% end %>
2
+ <%= multiple_selects(
3
+ f,
4
+ :ansible_roles,
5
+ AnsibleRole,
6
+ f.object.is_a?(Hostgroup) ? (f.object.inherited_and_own_ansible_roles).map(&:id) : f.object.all_ansible_roles.map(&:id),
7
+ {
8
+ :disabled => f.object.inherited_ansible_roles.map(&:id),
9
+ :label => _('Available roles'),
10
+ :label_help => _('This list of roles will be applied when the host finishes<br/> '\
11
+ 'provisioning. Users can also play these roles through the API<br/>'\
12
+ 'or by clicking on the Play Roles button on the Host page ').html_safe
13
+ },
14
+ { 'data-inheriteds' => f.object.inherited_ansible_roles.map(&:id).to_json }) %>
23
15
  </div>
data/config/routes.rb CHANGED
@@ -58,9 +58,7 @@ Rails.application.routes.draw do
58
58
  end
59
59
  end
60
60
 
61
- resources :ui_ansible_roles, :only => [:index]
62
-
63
- resources :ansible_variables, :except => [:show] do
61
+ resources :ansible_variables, :except => [:show, :new, :create] do
64
62
  resources :lookup_values, :only => [:index, :create, :update, :destroy]
65
63
  collection do
66
64
  get :import
@@ -17,8 +17,7 @@ Foreman::Plugin.register :foreman_ansible do
17
17
  :resource_type => 'Hostgroup'
18
18
  permission :view_ansible_roles,
19
19
  { :ansible_roles => [:index, :auto_complete_search],
20
- :'api/v2/ansible_roles' => [:index, :show, :fetch],
21
- :ui_ansible_roles => [:index] },
20
+ :'api/v2/ansible_roles' => [:index, :show, :fetch] },
22
21
  :resource_type => 'AnsibleRole'
23
22
  permission :destroy_ansible_roles,
24
23
  { :ansible_roles => [:destroy],
@@ -4,5 +4,5 @@
4
4
  # This way other parts of Foreman can just call ForemanAnsible::VERSION
5
5
  # and detect what version the plugin is running.
6
6
  module ForemanAnsible
7
- VERSION = '2.3.4'
7
+ VERSION = '2.3.5'
8
8
  end
@@ -0,0 +1,696 @@
1
+ # German 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.3.0\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: German\n"
13
+ "Language: de\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=2; plural=n != 1;\n"
18
+ "\n"
19
+
20
+ #: ../app/controllers/ansible_roles_controller.rb:35
21
+ msgid "Import of roles successfully finished."
22
+ msgstr ""
23
+
24
+ #: ../app/controllers/ansible_roles_controller.rb:50
25
+ msgid "No changes in roles detected."
26
+ msgstr ""
27
+
28
+ #: ../app/controllers/ansible_roles_controller.rb:51
29
+ msgid "No changes in roles detected on %s."
30
+ msgstr ""
31
+
32
+ #: ../app/controllers/ansible_variables_controller.rb:39
33
+ msgid "No changes in variables detected on %s."
34
+ msgstr ""
35
+
36
+ #: ../app/controllers/ansible_variables_controller.rb:49
37
+ msgid ""
38
+ "Import of variables successfully finished.\n"
39
+ "Added: #{results[:added].count} \n"
40
+ " Removed: #{results[:obsolete].count} \n"
41
+ "Updated: #{results[:updated].count}"
42
+ msgstr ""
43
+
44
+ #: ../app/controllers/ansible_variables_controller.rb:102
45
+ msgid "No proxy found to import variables from, ensure that the smart proxy has the Ansible feature enabled."
46
+ msgstr ""
47
+
48
+ #: ../app/controllers/api/v2/ansible_override_values_controller.rb:17
49
+ msgid "Override match"
50
+ msgstr ""
51
+
52
+ #: ../app/controllers/api/v2/ansible_override_values_controller.rb:18
53
+ msgid "Override value, required if omit is false"
54
+ msgstr ""
55
+
56
+ #: ../app/controllers/api/v2/ansible_override_values_controller.rb:22
57
+ msgid "Create an override value for a specific ansible variable"
58
+ msgstr ""
59
+
60
+ #: ../app/controllers/api/v2/ansible_override_values_controller.rb:34
61
+ msgid "Destroy an override value"
62
+ msgstr ""
63
+
64
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:18
65
+ msgid "Show role"
66
+ msgstr ""
67
+
68
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:22
69
+ msgid "List Ansible roles"
70
+ msgstr ""
71
+
72
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:28
73
+ msgid "Deletes Ansible role"
74
+ msgstr ""
75
+
76
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:34
77
+ msgid "Import Ansible roles"
78
+ msgstr ""
79
+
80
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:35 ../app/controllers/api/v2/ansible_roles_controller.rb:42 ../app/controllers/api/v2/ansible_variables_controller.rb:73 ../app/controllers/api/v2/ansible_variables_controller.rb:83
81
+ msgid "Smart Proxy to import from"
82
+ msgstr ""
83
+
84
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:36
85
+ msgid "Ansible role names to import"
86
+ msgstr ""
87
+
88
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:41
89
+ msgid "Obsolete Ansible roles"
90
+ msgstr ""
91
+
92
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:48
93
+ msgid "Fetch Ansible roles available to be imported"
94
+ msgstr ""
95
+
96
+ #: ../app/controllers/api/v2/ansible_roles_controller.rb:49
97
+ msgid "Smart Proxy to fetch from"
98
+ msgstr ""
99
+
100
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:20
101
+ msgid "Show variable"
102
+ msgstr ""
103
+
104
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:24
105
+ msgid "List Ansible variables"
106
+ msgstr ""
107
+
108
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:30
109
+ msgid "Deletes Ansible variable"
110
+ msgstr ""
111
+
112
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:39
113
+ msgid "Name of variable"
114
+ msgstr ""
115
+
116
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:40
117
+ msgid "Role ID"
118
+ msgstr ""
119
+
120
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:41
121
+ msgid "Default value of variable"
122
+ msgstr ""
123
+
124
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:42
125
+ msgid "When enabled the parameter is hidden in the UI"
126
+ msgstr ""
127
+
128
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:43
129
+ msgid "The order in which values are resolved"
130
+ msgstr ""
131
+
132
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:44
133
+ msgid "Description of variable"
134
+ msgstr ""
135
+
136
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:45
137
+ msgid "Types of validation values"
138
+ msgstr ""
139
+
140
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:46
141
+ msgid "Used to enforce certain values for the parameter values"
142
+ msgstr ""
143
+
144
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:47
145
+ msgid "Types of variable values"
146
+ msgstr ""
147
+
148
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:48
149
+ msgid "Merge all matching values (only array/hash type)"
150
+ msgstr ""
151
+
152
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:49
153
+ msgid "Include default value when merging all matching values"
154
+ msgstr ""
155
+
156
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:50
157
+ msgid "Remove duplicate values (only array type)"
158
+ msgstr ""
159
+
160
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:54
161
+ msgid "Create Ansible variable"
162
+ msgstr ""
163
+
164
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:61
165
+ msgid "Updates Ansible variable"
166
+ msgstr ""
167
+
168
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:71
169
+ msgid "Import Ansible variables. This will only import variables for already existing roles, it will not import any new roles"
170
+ msgstr ""
171
+
172
+ #: ../app/controllers/api/v2/ansible_variables_controller.rb:81
173
+ msgid "Obsolete Ansible variables. This will only obsolete variables for already existing roles, it will not delete any old roles"
174
+ msgstr ""
175
+
176
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:20
177
+ msgid "Plays Ansible roles on a hostgroup"
178
+ msgstr ""
179
+
180
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:30
181
+ msgid "Plays Ansible roles on hostgroups"
182
+ msgstr ""
183
+
184
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:31
185
+ msgid "IDs of hostgroups to play roles on"
186
+ msgstr ""
187
+
188
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:42
189
+ msgid "List all Ansible roles for a hostgroup"
190
+ msgstr ""
191
+
192
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:53
193
+ msgid "Assigns Ansible roles to a hostgroup"
194
+ msgstr ""
195
+
196
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:56
197
+ msgid "Ansible roles to assign to a hostgroup"
198
+ msgstr ""
199
+
200
+ #: ../app/controllers/foreman_ansible/api/v2/hostgroups_param_group_extensions.rb:13 ../app/controllers/foreman_ansible/api/v2/hosts_param_group_extensions.rb:13
201
+ msgid "IDs of associated ansible roles"
202
+ msgstr ""
203
+
204
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:26
205
+ msgid "Plays Ansible roles on a host"
206
+ msgstr ""
207
+
208
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:35
209
+ msgid "Plays Ansible roles on hosts"
210
+ msgstr ""
211
+
212
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:36
213
+ msgid "IDs of hosts to play roles on"
214
+ msgstr ""
215
+
216
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:46
217
+ msgid "List all Ansible roles for a host"
218
+ msgstr ""
219
+
220
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:56
221
+ msgid "Assigns Ansible roles to a host"
222
+ msgstr ""
223
+
224
+ #: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:59
225
+ msgid "Ansible roles to assign to a host"
226
+ msgstr ""
227
+
228
+ #: ../app/controllers/foreman_ansible/concerns/hostgroups_controller_extensions.rb:27
229
+ msgid "Host group has no associated hosts"
230
+ msgstr ""
231
+
232
+ #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:13
233
+ msgid "There are no Ansible roles to play"
234
+ msgstr ""
235
+
236
+ #: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:15
237
+ msgid "Could not run Ansible roles for %{host}"
238
+ msgstr ""
239
+
240
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:8
241
+ msgid "Import from %s"
242
+ msgstr ""
243
+
244
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:23
245
+ msgid "Ansible Role"
246
+ msgstr ""
247
+
248
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:29
249
+ msgid "Import"
250
+ msgstr ""
251
+
252
+ #: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:35
253
+ msgid "%s ago"
254
+ msgstr ""
255
+
256
+ #: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:13 ../app/lib/actions/foreman_ansible/helpers/host_common.rb:18
257
+ msgid "Play Ansible roles"
258
+ msgstr ""
259
+
260
+ #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:10
261
+ msgid "Playbook execution failed"
262
+ msgstr ""
263
+
264
+ #: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:30 ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:36
265
+ msgid "Error loading data from proxy"
266
+ msgstr ""
267
+
268
+ #: ../app/lib/actions/foreman_ansible/helpers/play_roles_description.rb:13
269
+ msgid "Foreman"
270
+ msgstr ""
271
+
272
+ #: ../app/lib/proxy_api/ansible.rb:27
273
+ msgid "Unable to get roles from Ansible"
274
+ msgstr ""
275
+
276
+ #: ../app/lib/proxy_api/ansible.rb:34 ../app/lib/proxy_api/ansible.rb:41
277
+ msgid "Unable to get roles/variables from Ansible"
278
+ msgstr ""
279
+
280
+ #: ../app/models/setting/ansible.rb:20
281
+ 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"
282
+ msgstr ""
283
+
284
+ #: ../app/models/setting/ansible.rb:25
285
+ msgid "Private Key Path"
286
+ msgstr ""
287
+
288
+ #: ../app/models/setting/ansible.rb:29
289
+ msgid "Use this connection type by default when running Ansible playbooks. You can override this on hosts by adding a parameter \"ansible_connection\""
290
+ msgstr ""
291
+
292
+ #: ../app/models/setting/ansible.rb:33
293
+ msgid "Connection type"
294
+ msgstr ""
295
+
296
+ #: ../app/models/setting/ansible.rb:37
297
+ 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\""
298
+ msgstr ""
299
+
300
+ #: ../app/models/setting/ansible.rb:42
301
+ msgid "WinRM cert Validation"
302
+ msgstr ""
303
+
304
+ #: ../app/models/setting/ansible.rb:46
305
+ msgid "Foreman will add the this level of verbosity for additional debugging output when running Ansible playbooks."
306
+ msgstr ""
307
+
308
+ #: ../app/models/setting/ansible.rb:49
309
+ msgid "Default verbosity level"
310
+ msgstr ""
311
+
312
+ #: ../app/models/setting/ansible.rb:52
313
+ msgid "Disabled"
314
+ msgstr ""
315
+
316
+ #: ../app/models/setting/ansible.rb:53
317
+ msgid "Level 1 (-v)"
318
+ msgstr ""
319
+
320
+ #: ../app/models/setting/ansible.rb:54
321
+ msgid "Level 2 (-vv)"
322
+ msgstr ""
323
+
324
+ #: ../app/models/setting/ansible.rb:55
325
+ msgid "Level 3 (-vvv)"
326
+ msgstr ""
327
+
328
+ #: ../app/models/setting/ansible.rb:56
329
+ msgid "Level 4 (-vvvv)"
330
+ msgstr ""
331
+
332
+ #: ../app/models/setting/ansible.rb:62
333
+ 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."
334
+ msgstr ""
335
+
336
+ #: ../app/models/setting/ansible.rb:67
337
+ msgid "Post-provision timeout"
338
+ msgstr ""
339
+
340
+ #: ../app/models/setting/ansible.rb:71
341
+ msgid "Timeout (in minutes) when hosts should have reported."
342
+ msgstr ""
343
+
344
+ #: ../app/models/setting/ansible.rb:73
345
+ msgid "Ansible report timeout"
346
+ msgstr ""
347
+
348
+ #: ../app/models/setting/ansible.rb:77
349
+ msgid "Disable host configuration status turning to out of sync for %{cfgmgmt} after report does not arrive within configured interval"
350
+ msgstr ""
351
+
352
+ #: ../app/models/setting/ansible.rb:81
353
+ msgid "%{cfgmgmt} out of sync disabled"
354
+ msgstr ""
355
+
356
+ #: ../app/models/setting/ansible.rb:86
357
+ msgid "Foreman will run Ansible playbooks using this implementation"
358
+ msgstr ""
359
+
360
+ #: ../app/models/setting/ansible.rb:88
361
+ msgid "Implementation for running Ansible"
362
+ msgstr ""
363
+
364
+ #: ../app/models/setting/ansible.rb:104 ../lib/foreman_ansible/register.rb:92
365
+ msgid "Ansible"
366
+ msgstr ""
367
+
368
+ #: ../app/services/foreman_ansible/insights_notification_builder.rb:51
369
+ msgid "Remediation Plan"
370
+ msgstr ""
371
+
372
+ #: ../app/services/foreman_ansible/insights_notification_builder.rb:61 ../db/seeds.d/90_notification_blueprints.rb:13
373
+ msgid "Job Details"
374
+ msgstr ""
375
+
376
+ #: ../app/services/foreman_ansible/proxy_api.rb:13
377
+ msgid "Proxy not found"
378
+ msgstr ""
379
+
380
+ #: ../app/views/ansible_roles/import.html.erb:1
381
+ msgid "Changed Ansible roles"
382
+ msgstr ""
383
+
384
+ #: ../app/views/ansible_roles/import.html.erb:3 ../app/views/ansible_variables/import.html.erb:3
385
+ msgid "Select the changes you want to realize in Foreman"
386
+ msgstr ""
387
+
388
+ #: ../app/views/ansible_roles/import.html.erb:5 ../app/views/ansible_variables/import.html.erb:5
389
+ msgid "Toggle"
390
+ msgstr ""
391
+
392
+ #: ../app/views/ansible_roles/import.html.erb:6 ../app/views/ansible_variables/import.html.erb:6
393
+ msgid "New"
394
+ msgstr ""
395
+
396
+ #: ../app/views/ansible_roles/import.html.erb:8 ../app/views/ansible_variables/import.html.erb:8
397
+ msgid "Check/Uncheck new"
398
+ msgstr ""
399
+
400
+ #: ../app/views/ansible_roles/import.html.erb:9 ../app/views/ansible_variables/import.html.erb:9
401
+ msgid "Obsolete"
402
+ msgstr ""
403
+
404
+ #: ../app/views/ansible_roles/import.html.erb:11 ../app/views/ansible_variables/import.html.erb:11
405
+ msgid "Check/Uncheck obsolete"
406
+ msgstr ""
407
+
408
+ #: ../app/views/ansible_roles/import.html.erb:19 ../app/views/ansible_variables/import.html.erb:22
409
+ msgid "Check/Uncheck all"
410
+ msgstr ""
411
+
412
+ #: ../app/views/ansible_roles/import.html.erb:21 ../app/views/ansible_variables/import.html.erb:24
413
+ msgid "Name"
414
+ msgstr ""
415
+
416
+ #: ../app/views/ansible_roles/import.html.erb:22 ../app/views/ansible_variables/import.html.erb:26
417
+ msgid "Hosts count"
418
+ msgstr ""
419
+
420
+ #: ../app/views/ansible_roles/import.html.erb:23 ../app/views/ansible_variables/import.html.erb:27
421
+ msgid "Hostgroups count"
422
+ msgstr ""
423
+
424
+ #: ../app/views/ansible_roles/import.html.erb:24 ../app/views/ansible_variables/import.html.erb:28
425
+ msgid "Operation"
426
+ msgstr ""
427
+
428
+ #: ../app/views/ansible_roles/import.html.erb:35 ../app/views/ansible_variables/import.html.erb:39
429
+ msgid "Check/Uncheck all %s changes"
430
+ msgstr ""
431
+
432
+ #: ../app/views/ansible_roles/import.html.erb:40 ../app/views/ansible_variables/import.html.erb:45
433
+ msgid "Add"
434
+ msgstr ""
435
+
436
+ #: ../app/views/ansible_roles/import.html.erb:40 ../app/views/ansible_variables/import.html.erb:45
437
+ msgid "Remove"
438
+ msgstr ""
439
+
440
+ #: ../app/views/ansible_roles/import.html.erb:48 ../app/views/ansible_variables/import.html.erb:53
441
+ msgid "Cancel"
442
+ msgstr ""
443
+
444
+ #: ../app/views/ansible_roles/import.html.erb:49 ../app/views/ansible_variables/import.html.erb:12 ../app/views/ansible_variables/import.html.erb:45 ../app/views/ansible_variables/import.html.erb:54
445
+ msgid "Update"
446
+ msgstr ""
447
+
448
+ #: ../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
449
+ msgid "Ansible Roles"
450
+ msgstr ""
451
+
452
+ #: ../app/views/ansible_roles/index.html.erb:9
453
+ msgid "Role|Name"
454
+ msgstr ""
455
+
456
+ #: ../app/views/ansible_roles/index.html.erb:10
457
+ msgid "Hostgroups"
458
+ msgstr ""
459
+
460
+ #: ../app/views/ansible_roles/index.html.erb:11
461
+ msgid "Hosts"
462
+ msgstr ""
463
+
464
+ #: ../app/views/ansible_roles/index.html.erb:12
465
+ msgid "Imported at"
466
+ msgstr ""
467
+
468
+ #: ../app/views/ansible_roles/index.html.erb:13 ../app/views/ansible_variables/index.html.erb:16
469
+ msgid "Actions"
470
+ msgstr ""
471
+
472
+ #: ../app/views/ansible_roles/index.html.erb:27 ../lib/foreman_ansible/register.rb:98
473
+ msgid "Variables"
474
+ msgstr ""
475
+
476
+ #: ../app/views/ansible_roles/index.html.erb:33 ../app/views/ansible_variables/index.html.erb:41
477
+ msgid "Delete %s?"
478
+ msgstr ""
479
+
480
+ #: ../app/views/ansible_roles/welcome.html.erb:7
481
+ msgid ""
482
+ "No ansible roles were found in Foreman. If you want to assign roles to your hosts,\n"
483
+ " you have to import them first."
484
+ msgstr ""
485
+
486
+ #: ../app/views/ansible_roles/welcome.html.erb:10
487
+ msgid "Learn more about this in the documentation."
488
+ msgstr ""
489
+
490
+ #: ../app/views/ansible_variables/_fields.erb:4
491
+ msgid "Ansible Variable Details (Imported)"
492
+ msgstr ""
493
+
494
+ #: ../app/views/ansible_variables/_fields.erb:4
495
+ msgid "Ansible Variable Details"
496
+ msgstr ""
497
+
498
+ #: ../app/views/ansible_variables/_fields.erb:11
499
+ msgid "Default Behavior"
500
+ msgstr ""
501
+
502
+ #: ../app/views/ansible_variables/_fields.erb:12
503
+ msgid "Override the default value of the Ansible variable."
504
+ msgstr ""
505
+
506
+ #: ../app/views/ansible_variables/_fields.erb:14
507
+ msgid "Mark the variable to be managed by Foreman. When the Ansible role of this variable is assigned to a host, the default value will be added to Ansible inventory as a host variable. Specify matchers to set a different value for such variable."
508
+ msgstr ""
509
+
510
+ #: ../app/views/ansible_variables/_fields.erb:27
511
+ msgid "Value to use when there is no match."
512
+ msgstr ""
513
+
514
+ #: ../app/views/ansible_variables/_fields.erb:30
515
+ msgid "Hidden Value"
516
+ msgstr ""
517
+
518
+ #: ../app/views/ansible_variables/_fields.erb:33
519
+ msgid "Hide all values for this parameter."
520
+ msgstr ""
521
+
522
+ #: ../app/views/ansible_variables/_fields.erb:39
523
+ msgid "Optional Input Validator"
524
+ msgstr ""
525
+
526
+ #: ../app/views/ansible_variables/_fields.erb:41
527
+ msgid "Before including these variables on your playbooks, Foreman will validate that your variables comply with the validation."
528
+ msgstr ""
529
+
530
+ #: ../app/views/ansible_variables/_fields.erb:44
531
+ msgid "If checked, will raise an error if there is no default value and no matcher provide a value."
532
+ msgstr ""
533
+
534
+ #: ../app/views/ansible_variables/_fields.erb:53
535
+ msgid "Prioritize Attribute Order"
536
+ msgstr ""
537
+
538
+ #: ../app/views/ansible_variables/_fields.erb:54
539
+ msgid "Set the order in which values are resolved."
540
+ msgstr ""
541
+
542
+ #: ../app/views/ansible_variables/_fields.erb:55
543
+ msgid "Order"
544
+ msgstr ""
545
+
546
+ #: ../app/views/ansible_variables/_fields.erb:56
547
+ msgid "The order in which matchers keys are processed, first match wins.<br> You may use multiple attributes as a matcher key, for example, an order of <code>host group, environment</code> would expect a matcher such as <code>hostgroup = \"web servers\", environment = production</code>"
548
+ msgstr ""
549
+
550
+ #: ../app/views/ansible_variables/_fields.erb:59
551
+ msgid "Continue to look for matches after first find (only array/hash type)? Note: merging overrides ignores all matchers that are omitted."
552
+ msgstr ""
553
+
554
+ #: ../app/views/ansible_variables/_fields.erb:61
555
+ msgid "Include default value when merging all matching values."
556
+ msgstr ""
557
+
558
+ #: ../app/views/ansible_variables/_fields.erb:64
559
+ msgid "Avoid duplicate values when merging them (only array type)?"
560
+ msgstr ""
561
+
562
+ #: ../app/views/ansible_variables/_fields.erb:68
563
+ msgid "Specify Matchers"
564
+ msgstr ""
565
+
566
+ #: ../app/views/ansible_variables/edit.html.erb:4 ../app/views/ansible_variables/index.html.erb:1 ../app/views/ansible_variables/new.html.erb:4
567
+ msgid "Ansible Variables"
568
+ msgstr ""
569
+
570
+ #: ../app/views/ansible_variables/edit.html.erb:8
571
+ msgid "Edit %s"
572
+ msgstr ""
573
+
574
+ #: ../app/views/ansible_variables/edit.html.erb:13
575
+ msgid "Edit Ansible Variable"
576
+ msgstr ""
577
+
578
+ #: ../app/views/ansible_variables/import.html.erb:1
579
+ msgid "Changed Ansible variables"
580
+ msgstr ""
581
+
582
+ #: ../app/views/ansible_variables/import.html.erb:14
583
+ msgid "Check/Uncheck update"
584
+ msgstr ""
585
+
586
+ #: ../app/views/ansible_variables/import.html.erb:25
587
+ msgid "Ansible role"
588
+ msgstr ""
589
+
590
+ #: ../app/views/ansible_variables/index.html.erb:5
591
+ msgid "New Ansible Variable"
592
+ msgstr ""
593
+
594
+ #: ../app/views/ansible_variables/index.html.erb:12
595
+ msgid "Variable|Name"
596
+ msgstr ""
597
+
598
+ #: ../app/views/ansible_variables/index.html.erb:13
599
+ msgid "Variable|Role"
600
+ msgstr ""
601
+
602
+ #: ../app/views/ansible_variables/index.html.erb:14
603
+ msgid "Type"
604
+ msgstr ""
605
+
606
+ #: ../app/views/ansible_variables/index.html.erb:15
607
+ msgid "Imported?"
608
+ msgstr ""
609
+
610
+ #: ../app/views/ansible_variables/index.html.erb:23
611
+ msgid "Overriden"
612
+ msgstr ""
613
+
614
+ #: ../app/views/ansible_variables/new.html.erb:8 ../app/views/ansible_variables/new.html.erb:13
615
+ msgid "Create Ansible Variable"
616
+ msgstr ""
617
+
618
+ #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:5
619
+ msgid "Play Roles"
620
+ msgstr ""
621
+
622
+ #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:9
623
+ msgid "Nest"
624
+ msgstr ""
625
+
626
+ #: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:10
627
+ msgid "Clone"
628
+ msgstr ""
629
+
630
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:7
631
+ msgid "Level"
632
+ msgstr ""
633
+
634
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:8
635
+ msgid "Module"
636
+ msgstr ""
637
+
638
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:9
639
+ msgid "Arguments"
640
+ msgstr ""
641
+
642
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:10
643
+ msgid "Message"
644
+ msgstr ""
645
+
646
+ #: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:23
647
+ msgid "Nothing to show"
648
+ msgstr ""
649
+
650
+ #: ../db/seeds.d/90_notification_blueprints.rb:5
651
+ msgid "Jobs"
652
+ msgstr ""
653
+
654
+ #: ../db/seeds.d/90_notification_blueprints.rb:7
655
+ msgid "Insights remediation on %{hosts_count} host(s) has finished successfully"
656
+ msgstr ""
657
+
658
+ #: ../lib/foreman_ansible/register.rb:94
659
+ msgid "Roles"
660
+ msgstr ""
661
+
662
+ #: ../lib/foreman_ansible/remote_execution.rb:20
663
+ msgid "Run Ansible roles"
664
+ msgstr ""
665
+
666
+ #: ../lib/foreman_ansible/remote_execution.rb:21
667
+ msgid "Runs an Ansible playbook which contains all the roles defined for a host"
668
+ msgstr ""
669
+
670
+ #: ../lib/foreman_ansible/remote_execution.rb:27
671
+ msgid "Ansible: Run Insights maintenance plan"
672
+ msgstr ""
673
+
674
+ #: ../lib/foreman_ansible/remote_execution.rb:28
675
+ msgid "Runs a given maintenance plan from Red Hat Access Insights given an ID."
676
+ msgstr ""
677
+
678
+ #: action_names.rb:2
679
+ msgid "Import facts"
680
+ msgstr ""
681
+
682
+ #: action_names.rb:3
683
+ msgid "Action with sub plans"
684
+ msgstr ""
685
+
686
+ #: action_names.rb:4
687
+ msgid "Import Puppet classes"
688
+ msgstr ""
689
+
690
+ #: action_names.rb:5
691
+ msgid "Remote action:"
692
+ msgstr ""
693
+
694
+ #: gemspec.rb:2
695
+ msgid "Ansible support in Foreman"
696
+ msgstr ""