foreman_ansible 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/controllers/api/v2/ansible_roles_controller.rb +10 -5
- data/app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb +1 -1
- data/app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb +1 -1
- data/app/models/ansible_role.rb +9 -0
- data/app/models/concerns/foreman_ansible/host_managed_extensions.rb +1 -0
- data/app/models/concerns/foreman_ansible/hostgroup_extensions.rb +1 -0
- data/app/models/host_ansible_role.rb +0 -1
- data/app/models/setting/ansible.rb +15 -0
- data/app/services/foreman_ansible/insights_notification_builder.rb +64 -0
- data/app/services/foreman_ansible/insights_plan_runner.rb +17 -2
- data/app/services/foreman_ansible/inventory_creator.rb +10 -0
- data/app/services/foreman_ansible/renderer_methods.rb +10 -3
- data/app/services/foreman_ansible/ui_roles_importer.rb +0 -2
- data/app/views/api/v2/ansible_roles/show.json.rabl +1 -1
- data/app/views/foreman_ansible/job_templates/package_action_-_ansible_default.erb +4 -0
- data/app/views/foreman_ansible/job_templates/power_action_-_ansible_default.erb +2 -2
- data/app/views/foreman_ansible/job_templates/puppet_run_once_-_ansible_default.erb +1 -1
- data/app/views/foreman_ansible/job_templates/run_command_-_ansible_default.erb +2 -1
- data/app/views/foreman_ansible/job_templates/service_action_-_ansible_default.erb +1 -1
- data/db/migrate/20180410125416_rename_ansible_job_categories.rb +30 -0
- data/db/seeds.d/75_job_templates.rb +18 -16
- data/db/seeds.d/90_notification_blueprints.rb +17 -0
- data/lib/foreman_ansible/engine.rb +1 -2
- data/lib/foreman_ansible/register.rb +1 -0
- data/lib/foreman_ansible/remote_execution.rb +4 -1
- data/lib/foreman_ansible/version.rb +1 -1
- data/locale/en/foreman_ansible.po +130 -7
- data/locale/foreman_ansible.pot +224 -34
- data/test/fixtures/insights_playbook.yaml +79 -0
- data/test/unit/services/insights_plan_runner_test.rb +36 -0
- data/test/unit/services/inventory_creator_test.rb +18 -0
- metadata +32 -47
- data/webpack/components/ReportJsonViewer.js +0 -17
- data/webpack/index.js +0 -4
@@ -25,7 +25,7 @@ module ForemanAnsible
|
|
25
25
|
|
26
26
|
initializer 'foreman_ansible.register_gettext',
|
27
27
|
:after => :load_config_initializers do
|
28
|
-
locale_dir = File.join(File.expand_path('
|
28
|
+
locale_dir = File.join(File.expand_path('../..', __dir__), 'locale')
|
29
29
|
locale_domain = 'foreman_ansible'
|
30
30
|
|
31
31
|
Foreman::Gettext::Support.add_text_domain locale_domain, locale_dir
|
@@ -110,5 +110,4 @@ module ForemanAnsible
|
|
110
110
|
end
|
111
111
|
end
|
112
112
|
end
|
113
|
-
# rubocop:enable ClassLength
|
114
113
|
end
|
@@ -54,6 +54,7 @@ Foreman::Plugin.register :foreman_ansible do
|
|
54
54
|
# For backwards compatiblity with 1.17
|
55
55
|
if respond_to?(:register_report_scanner)
|
56
56
|
register_report_scanner ForemanAnsible::AnsibleReportScanner
|
57
|
+
register_report_origin 'Ansible', 'ConfigReport'
|
57
58
|
end
|
58
59
|
end
|
59
60
|
# rubocop:enable BlockLength
|
@@ -8,6 +8,8 @@ module ForemanAnsible
|
|
8
8
|
:Ansible,
|
9
9
|
ForemanAnsible::AnsibleProvider
|
10
10
|
)
|
11
|
+
|
12
|
+
ForemanAnsible::Engine.register_rex_feature
|
11
13
|
end
|
12
14
|
|
13
15
|
def self.register_rex_feature
|
@@ -22,7 +24,8 @@ module ForemanAnsible
|
|
22
24
|
N_('Ansible: Run Insights maintenance plan'),
|
23
25
|
:description => N_('Runs a given maintenance plan from Red Hat '\
|
24
26
|
'Access Insights given an ID.'),
|
25
|
-
:provided_inputs => %w[organization_id plan_id]
|
27
|
+
:provided_inputs => %w[organization_id plan_id],
|
28
|
+
:notification_builder => ForemanAnsible::InsightsNotificationBuilder
|
26
29
|
)
|
27
30
|
end
|
28
31
|
end
|
@@ -30,16 +30,13 @@ msgstr ""
|
|
30
30
|
msgid "Ansible Roles"
|
31
31
|
msgstr ""
|
32
32
|
|
33
|
-
msgid "Ansible
|
34
|
-
msgstr ""
|
35
|
-
|
36
|
-
msgid "Ansible roles running in the background for hosts: %s"
|
33
|
+
msgid "Ansible support in Foreman"
|
37
34
|
msgstr ""
|
38
35
|
|
39
|
-
msgid "Ansible
|
36
|
+
msgid "Ansible: Run Insights maintenance plan"
|
40
37
|
msgstr ""
|
41
38
|
|
42
|
-
msgid "Ansible
|
39
|
+
msgid "Ansible: Run host roles"
|
43
40
|
msgstr ""
|
44
41
|
|
45
42
|
msgid "Arguments"
|
@@ -66,19 +63,64 @@ msgstr ""
|
|
66
63
|
msgid "Check/Uncheck obsolete"
|
67
64
|
msgstr ""
|
68
65
|
|
66
|
+
msgid "Clone"
|
67
|
+
msgstr ""
|
68
|
+
|
69
|
+
msgid "Connection type"
|
70
|
+
msgstr ""
|
71
|
+
|
72
|
+
msgid "Could not run Ansible roles for %{host}"
|
73
|
+
msgstr ""
|
74
|
+
|
75
|
+
msgid "Default verbosity level"
|
76
|
+
msgstr ""
|
77
|
+
|
69
78
|
msgid "Delete %s?"
|
70
79
|
msgstr ""
|
71
80
|
|
81
|
+
msgid "Deletes Ansible role"
|
82
|
+
msgstr ""
|
83
|
+
|
84
|
+
msgid "Disabled"
|
85
|
+
msgstr ""
|
86
|
+
|
87
|
+
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\""
|
88
|
+
msgstr ""
|
89
|
+
|
90
|
+
msgid "Error loading data from proxy"
|
91
|
+
msgstr ""
|
92
|
+
|
93
|
+
msgid "Foreman"
|
94
|
+
msgstr ""
|
95
|
+
|
96
|
+
msgid "Foreman will add the this level of verbosity for additional debugging output when running Ansible playbooks."
|
97
|
+
msgstr ""
|
98
|
+
|
99
|
+
msgid "From %s"
|
100
|
+
msgstr ""
|
101
|
+
|
102
|
+
msgid "From Foreman host"
|
103
|
+
msgstr ""
|
104
|
+
|
105
|
+
msgid "Host group has no associated hosts"
|
106
|
+
msgstr ""
|
107
|
+
|
108
|
+
msgid "Hostgroups"
|
109
|
+
msgstr ""
|
110
|
+
|
72
111
|
msgid "Hostgroups count"
|
73
112
|
msgstr ""
|
74
113
|
|
114
|
+
msgid "Hosts"
|
115
|
+
msgstr ""
|
116
|
+
|
75
117
|
msgid "Hosts count"
|
76
118
|
msgstr ""
|
77
119
|
|
78
120
|
msgid "Import"
|
79
121
|
msgstr ""
|
80
122
|
|
81
|
-
msgid "Import
|
123
|
+
msgid "Import Ansible roles"
|
82
124
|
msgstr ""
|
83
125
|
|
84
126
|
msgid "Import from Foreman host"
|
@@ -96,6 +138,21 @@ msgstr ""
|
|
96
138
|
msgid "Level"
|
97
139
|
msgstr ""
|
98
140
|
|
141
|
+
msgid "Level 1 (-v)"
|
142
|
+
msgstr ""
|
143
|
+
|
144
|
+
msgid "Level 2 (-vv)"
|
145
|
+
msgstr ""
|
146
|
+
|
147
|
+
msgid "Level 3 (-vvv)"
|
148
|
+
msgstr ""
|
149
|
+
|
150
|
+
msgid "Level 4 (-vvvv)"
|
151
|
+
msgstr ""
|
152
|
+
|
153
|
+
msgid "List Ansible roles"
|
154
|
+
msgstr ""
|
155
|
+
|
99
156
|
msgid "Message"
|
100
157
|
msgstr ""
|
101
158
|
|
@@ -105,6 +162,9 @@ msgstr ""
|
|
105
162
|
msgid "Name"
|
106
163
|
msgstr ""
|
107
164
|
|
165
|
+
msgid "Nest"
|
166
|
+
msgstr ""
|
167
|
+
|
108
168
|
msgid "New"
|
109
169
|
msgstr ""
|
110
170
|
|
@@ -125,12 +185,39 @@ msgstr ""
|
|
125
185
|
msgid "Obsolete"
|
126
186
|
msgstr ""
|
127
187
|
|
188
|
+
msgid "Obsolete Ansible roles"
|
189
|
+
msgstr ""
|
190
|
+
|
128
191
|
msgid "Operation"
|
129
192
|
msgstr ""
|
130
193
|
|
131
194
|
msgid "Play Ansible roles"
|
132
195
|
msgstr ""
|
133
196
|
|
197
|
+
msgid "Play Roles"
|
198
|
+
msgstr ""
|
199
|
+
|
200
|
+
msgid "Playbook execution failed"
|
201
|
+
msgstr ""
|
202
|
+
|
203
|
+
msgid "Plays Ansible roles on a host"
|
204
|
+
msgstr ""
|
205
|
+
|
206
|
+
msgid "Plays Ansible roles on a hostgroup"
|
207
|
+
msgstr ""
|
208
|
+
|
209
|
+
msgid "Plays Ansible roles on hostgroups"
|
210
|
+
msgstr ""
|
211
|
+
|
212
|
+
msgid "Plays Ansible roles on hosts"
|
213
|
+
msgstr ""
|
214
|
+
|
215
|
+
msgid "Post-provision timeout"
|
216
|
+
msgstr ""
|
217
|
+
|
218
|
+
msgid "Private Key Path"
|
219
|
+
msgstr ""
|
220
|
+
|
134
221
|
msgid "Proxy not found"
|
135
222
|
msgstr ""
|
136
223
|
|
@@ -143,14 +230,50 @@ msgstr ""
|
|
143
230
|
msgid "Role|Name"
|
144
231
|
msgstr ""
|
145
232
|
|
233
|
+
msgid "Run Ansible roles"
|
234
|
+
msgstr ""
|
235
|
+
|
236
|
+
msgid "Runs a given maintenance plan from Red Hat Access Insights given an ID."
|
237
|
+
msgstr ""
|
238
|
+
|
239
|
+
msgid "Runs an Ansible playbook which contains all the roles defined for a host"
|
240
|
+
msgstr ""
|
241
|
+
|
146
242
|
msgid "Select the changes you want to realize in Foreman"
|
147
243
|
msgstr ""
|
148
244
|
|
245
|
+
msgid "Show role"
|
246
|
+
msgstr ""
|
247
|
+
|
248
|
+
msgid "Smart Proxy to import from"
|
249
|
+
msgstr ""
|
250
|
+
|
251
|
+
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 "
|
252
|
+
msgstr ""
|
253
|
+
|
254
|
+
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."
|
255
|
+
msgstr ""
|
256
|
+
|
149
257
|
msgid "Toggle"
|
150
258
|
msgstr ""
|
151
259
|
|
260
|
+
msgid "Top level Ansible variables"
|
261
|
+
msgstr ""
|
262
|
+
|
152
263
|
msgid "Unable to get roles from Ansible"
|
153
264
|
msgstr ""
|
154
265
|
|
155
266
|
msgid "Update"
|
156
267
|
msgstr ""
|
268
|
+
|
269
|
+
msgid "Use this connection type by default when running Ansible playbooks. You can override this on hosts by adding a parameter \"ansible_connection\""
|
270
|
+
msgstr ""
|
271
|
+
|
272
|
+
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"
|
273
|
+
msgstr ""
|
274
|
+
|
275
|
+
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."
|
276
|
+
msgstr ""
|
277
|
+
|
278
|
+
msgid "WinRM cert Validation"
|
279
|
+
msgstr ""
|
data/locale/foreman_ansible.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: foreman_ansible 1.0.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2018-03-12 12:24-0400\n"
|
12
|
+
"PO-Revision-Date: 2018-03-12 12:24-0400\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -18,57 +18,205 @@ msgstr ""
|
|
18
18
|
"Content-Transfer-Encoding: 8bit\n"
|
19
19
|
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
20
20
|
|
21
|
-
#: ../app/controllers/ansible_roles_controller.rb:
|
22
|
-
msgid "
|
21
|
+
#: ../app/controllers/ansible_roles_controller.rb:37
|
22
|
+
msgid "Import of roles successfully finished."
|
23
23
|
msgstr ""
|
24
24
|
|
25
|
-
#: ../app/controllers/ansible_roles_controller.rb:
|
25
|
+
#: ../app/controllers/ansible_roles_controller.rb:57
|
26
26
|
msgid "No changes in roles detected."
|
27
27
|
msgstr ""
|
28
28
|
|
29
|
-
#: ../app/controllers/ansible_roles_controller.rb:
|
30
|
-
msgid "
|
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:11
|
34
|
+
msgid "Show role"
|
35
|
+
msgstr ""
|
36
|
+
|
37
|
+
#: ../app/controllers/api/v2/ansible_roles_controller.rb:15
|
38
|
+
msgid "List Ansible roles"
|
39
|
+
msgstr ""
|
40
|
+
|
41
|
+
#: ../app/controllers/api/v2/ansible_roles_controller.rb:21
|
42
|
+
msgid "Deletes Ansible role"
|
43
|
+
msgstr ""
|
44
|
+
|
45
|
+
#: ../app/controllers/api/v2/ansible_roles_controller.rb:27
|
46
|
+
msgid "Import Ansible roles"
|
47
|
+
msgstr ""
|
48
|
+
|
49
|
+
#: ../app/controllers/api/v2/ansible_roles_controller.rb:28
|
50
|
+
#: ../app/controllers/api/v2/ansible_roles_controller.rb:34
|
51
|
+
msgid "Smart Proxy to import from"
|
52
|
+
msgstr ""
|
53
|
+
|
54
|
+
#: ../app/controllers/api/v2/ansible_roles_controller.rb:33
|
55
|
+
msgid "Obsolete Ansible roles"
|
31
56
|
msgstr ""
|
32
57
|
|
33
58
|
#:
|
34
|
-
#: ../app/controllers/foreman_ansible/
|
35
|
-
msgid "Ansible roles
|
59
|
+
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:14
|
60
|
+
msgid "Plays Ansible roles on a hostgroup"
|
61
|
+
msgstr ""
|
62
|
+
|
63
|
+
#:
|
64
|
+
#: ../app/controllers/foreman_ansible/api/v2/hostgroups_controller_extensions.rb:24
|
65
|
+
msgid "Plays Ansible roles on hostgroups"
|
66
|
+
msgstr ""
|
67
|
+
|
68
|
+
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:12
|
69
|
+
msgid "Plays Ansible roles on a host"
|
70
|
+
msgstr ""
|
71
|
+
|
72
|
+
#: ../app/controllers/foreman_ansible/api/v2/hosts_controller_extensions.rb:20
|
73
|
+
msgid "Plays Ansible roles on hosts"
|
36
74
|
msgstr ""
|
37
75
|
|
38
76
|
#:
|
39
|
-
#: ../app/controllers/foreman_ansible/concerns/
|
40
|
-
msgid "
|
77
|
+
#: ../app/controllers/foreman_ansible/concerns/hostgroups_controller_extensions.rb:25
|
78
|
+
msgid "Host group has no associated hosts"
|
79
|
+
msgstr ""
|
80
|
+
|
81
|
+
#: ../app/controllers/foreman_ansible/concerns/job_invocation_helper.rb:11
|
82
|
+
msgid "Could not run Ansible roles for %{host}"
|
41
83
|
msgstr ""
|
42
84
|
|
43
85
|
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:6
|
44
|
-
msgid "
|
86
|
+
msgid "From %s"
|
45
87
|
msgstr ""
|
46
88
|
|
47
|
-
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:
|
89
|
+
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:11
|
90
|
+
msgid "From Foreman host"
|
91
|
+
msgstr ""
|
92
|
+
|
93
|
+
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:13
|
48
94
|
msgid "Import from Foreman host"
|
49
95
|
msgstr ""
|
50
96
|
|
51
|
-
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:
|
97
|
+
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:21
|
52
98
|
msgid "Import"
|
53
99
|
msgstr ""
|
54
100
|
|
55
|
-
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:
|
101
|
+
#: ../app/helpers/foreman_ansible/ansible_roles_helper.rb:27
|
56
102
|
msgid "%s ago"
|
57
103
|
msgstr ""
|
58
104
|
|
59
|
-
#: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:
|
60
|
-
|
105
|
+
#: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:18
|
106
|
+
#: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:16
|
107
|
+
msgid "Play Ansible roles"
|
61
108
|
msgstr ""
|
62
109
|
|
63
|
-
#: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:
|
64
|
-
msgid "
|
110
|
+
#: ../app/helpers/foreman_ansible/hosts_helper_extensions.rb:35
|
111
|
+
msgid "Run Ansible roles"
|
112
|
+
msgstr ""
|
113
|
+
|
114
|
+
#: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:8
|
115
|
+
msgid "Playbook execution failed"
|
116
|
+
msgstr ""
|
117
|
+
|
118
|
+
#: ../app/lib/actions/foreman_ansible/helpers/host_common.rb:28
|
119
|
+
#: ../lib/foreman_ansible_core/remote_execution_core/ansible_runner.rb:31
|
120
|
+
msgid "Error loading data from proxy"
|
121
|
+
msgstr ""
|
122
|
+
|
123
|
+
#: ../app/lib/actions/foreman_ansible/helpers/play_roles_description.rb:11
|
124
|
+
msgid "Foreman"
|
65
125
|
msgstr ""
|
66
126
|
|
67
127
|
#: ../app/lib/proxy_api/ansible.rb:25
|
68
128
|
msgid "Unable to get roles from Ansible"
|
69
129
|
msgstr ""
|
70
130
|
|
71
|
-
#: ../app/
|
131
|
+
#: ../app/models/setting/ansible.rb:18
|
132
|
+
msgid ""
|
133
|
+
"Use this to supply a path to an SSH Private Key that Ansible will use in lieu "
|
134
|
+
"of a password Override with \"ansible_ssh_private_key_file\" host parameter"
|
135
|
+
msgstr ""
|
136
|
+
|
137
|
+
#: ../app/models/setting/ansible.rb:23
|
138
|
+
msgid "Private Key Path"
|
139
|
+
msgstr ""
|
140
|
+
|
141
|
+
#: ../app/models/setting/ansible.rb:27
|
142
|
+
msgid ""
|
143
|
+
"Use this connection type by default when running Ansible playbooks. You can ov"
|
144
|
+
"erride this on hosts by adding a parameter \"ansible_connection\""
|
145
|
+
msgstr ""
|
146
|
+
|
147
|
+
#: ../app/models/setting/ansible.rb:31
|
148
|
+
msgid "Connection type"
|
149
|
+
msgstr ""
|
150
|
+
|
151
|
+
#: ../app/models/setting/ansible.rb:35
|
152
|
+
msgid ""
|
153
|
+
"Enable/disable WinRM server certificate validation when running Ansible playbo"
|
154
|
+
"oks. You can override this on hosts by adding a parameter \"ansible_winrm_serve"
|
155
|
+
"r_cert_validation\""
|
156
|
+
msgstr ""
|
157
|
+
|
158
|
+
#: ../app/models/setting/ansible.rb:40
|
159
|
+
msgid "WinRM cert Validation"
|
160
|
+
msgstr ""
|
161
|
+
|
162
|
+
#: ../app/models/setting/ansible.rb:44
|
163
|
+
msgid ""
|
164
|
+
"Foreman will add the this level of verbosity for additional debugging output w"
|
165
|
+
"hen running Ansible playbooks."
|
166
|
+
msgstr ""
|
167
|
+
|
168
|
+
#: ../app/models/setting/ansible.rb:47
|
169
|
+
msgid "Default verbosity level"
|
170
|
+
msgstr ""
|
171
|
+
|
172
|
+
#: ../app/models/setting/ansible.rb:50
|
173
|
+
msgid "Disabled"
|
174
|
+
msgstr ""
|
175
|
+
|
176
|
+
#: ../app/models/setting/ansible.rb:51
|
177
|
+
msgid "Level 1 (-v)"
|
178
|
+
msgstr ""
|
179
|
+
|
180
|
+
#: ../app/models/setting/ansible.rb:52
|
181
|
+
msgid "Level 2 (-vv)"
|
182
|
+
msgstr ""
|
183
|
+
|
184
|
+
#: ../app/models/setting/ansible.rb:53
|
185
|
+
msgid "Level 3 (-vvv)"
|
186
|
+
msgstr ""
|
187
|
+
|
188
|
+
#: ../app/models/setting/ansible.rb:54
|
189
|
+
msgid "Level 4 (-vvvv)"
|
190
|
+
msgstr ""
|
191
|
+
|
192
|
+
#: ../app/models/setting/ansible.rb:60
|
193
|
+
msgid ""
|
194
|
+
"Timeout (in seconds) to set when Foreman will trigger a play Ansible roles tas"
|
195
|
+
"k after a host is fully provisioned. Set this to the maximum time you expect a"
|
196
|
+
" host to take until it is ready after a reboot."
|
197
|
+
msgstr ""
|
198
|
+
|
199
|
+
#: ../app/models/setting/ansible.rb:65
|
200
|
+
msgid "Post-provision timeout"
|
201
|
+
msgstr ""
|
202
|
+
|
203
|
+
#: ../app/models/setting/ansible.rb:69
|
204
|
+
msgid ""
|
205
|
+
"Whether to put Ansible parameters in the \"hostvars\" top-level key of the inven"
|
206
|
+
"tory. By default it is true, so that Host Parameters can be used directly in t"
|
207
|
+
"he playbooks.When false, Host Parameters can only be accessed throughforeman_p"
|
208
|
+
"arams[\"host_parameter\"] in the playbooks."
|
209
|
+
msgstr ""
|
210
|
+
|
211
|
+
#: ../app/models/setting/ansible.rb:75
|
212
|
+
msgid "Top level Ansible variables"
|
213
|
+
msgstr ""
|
214
|
+
|
215
|
+
#: ../app/models/setting/ansible.rb:87 ../lib/foreman_ansible/register.rb:44
|
216
|
+
msgid "Ansible"
|
217
|
+
msgstr ""
|
218
|
+
|
219
|
+
#: ../app/services/foreman_ansible/roles_importer.rb:32
|
72
220
|
msgid "Proxy not found"
|
73
221
|
msgstr ""
|
74
222
|
|
@@ -147,19 +295,27 @@ msgstr ""
|
|
147
295
|
msgid "Ansible Roles"
|
148
296
|
msgstr ""
|
149
297
|
|
150
|
-
#: ../app/views/ansible_roles/index.html.erb:
|
298
|
+
#: ../app/views/ansible_roles/index.html.erb:9
|
151
299
|
msgid "Role|Name"
|
152
300
|
msgstr ""
|
153
301
|
|
154
|
-
#: ../app/views/ansible_roles/index.html.erb:
|
302
|
+
#: ../app/views/ansible_roles/index.html.erb:10
|
303
|
+
msgid "Hostgroups"
|
304
|
+
msgstr ""
|
305
|
+
|
306
|
+
#: ../app/views/ansible_roles/index.html.erb:11
|
307
|
+
msgid "Hosts"
|
308
|
+
msgstr ""
|
309
|
+
|
310
|
+
#: ../app/views/ansible_roles/index.html.erb:12
|
155
311
|
msgid "Imported at"
|
156
312
|
msgstr ""
|
157
313
|
|
158
|
-
#: ../app/views/ansible_roles/index.html.erb:
|
314
|
+
#: ../app/views/ansible_roles/index.html.erb:13
|
159
315
|
msgid "Actions"
|
160
316
|
msgstr ""
|
161
317
|
|
162
|
-
#: ../app/views/ansible_roles/index.html.erb:
|
318
|
+
#: ../app/views/ansible_roles/index.html.erb:26
|
163
319
|
msgid "Delete %s?"
|
164
320
|
msgstr ""
|
165
321
|
|
@@ -174,36 +330,70 @@ msgstr ""
|
|
174
330
|
msgid "Learn more about this in the documentation."
|
175
331
|
msgstr ""
|
176
332
|
|
177
|
-
#:
|
333
|
+
#:
|
334
|
+
#: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:5
|
335
|
+
msgid "Play Roles"
|
336
|
+
msgstr ""
|
337
|
+
|
338
|
+
#:
|
339
|
+
#: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:9
|
340
|
+
msgid "Nest"
|
341
|
+
msgstr ""
|
342
|
+
|
343
|
+
#:
|
344
|
+
#: ../app/views/foreman_ansible/ansible_roles/_hostgroup_ansible_roles_button.erb:10
|
345
|
+
msgid "Clone"
|
346
|
+
msgstr ""
|
347
|
+
|
348
|
+
#: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:9
|
178
349
|
msgid "Available roles"
|
179
350
|
msgstr ""
|
180
351
|
|
181
|
-
#: ../app/views/foreman_ansible/
|
352
|
+
#: ../app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb:10
|
353
|
+
msgid ""
|
354
|
+
"This list of roles will be applied when the host finishes<br/> provisioning. U"
|
355
|
+
"sers can also play these roles through the API<br/>or by clicking on the Play "
|
356
|
+
"Roles button on the Host page "
|
357
|
+
msgstr ""
|
358
|
+
|
359
|
+
#: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:7
|
182
360
|
msgid "Level"
|
183
361
|
msgstr ""
|
184
362
|
|
185
|
-
#: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:
|
363
|
+
#: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:8
|
186
364
|
msgid "Module"
|
187
365
|
msgstr ""
|
188
366
|
|
189
|
-
#: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:
|
367
|
+
#: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:9
|
190
368
|
msgid "Arguments"
|
191
369
|
msgstr ""
|
192
370
|
|
193
|
-
#: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:
|
371
|
+
#: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:10
|
194
372
|
msgid "Message"
|
195
373
|
msgstr ""
|
196
374
|
|
197
|
-
#: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:
|
375
|
+
#: ../app/views/foreman_ansible/config_reports/_ansible.html.erb:23
|
198
376
|
msgid "Nothing to show"
|
199
377
|
msgstr ""
|
200
378
|
|
201
|
-
#: ../lib/foreman_ansible/
|
202
|
-
msgid "
|
379
|
+
#: ../lib/foreman_ansible/register.rb:46
|
380
|
+
msgid "Roles"
|
203
381
|
msgstr ""
|
204
382
|
|
205
|
-
#: ../lib/foreman_ansible/
|
206
|
-
msgid "
|
383
|
+
#: ../lib/foreman_ansible/remote_execution.rb:16
|
384
|
+
msgid "Ansible: Run host roles"
|
385
|
+
msgstr ""
|
386
|
+
|
387
|
+
#: ../lib/foreman_ansible/remote_execution.rb:17
|
388
|
+
msgid "Runs an Ansible playbook which contains all the roles defined for a host"
|
389
|
+
msgstr ""
|
390
|
+
|
391
|
+
#: ../lib/foreman_ansible/remote_execution.rb:22
|
392
|
+
msgid "Ansible: Run Insights maintenance plan"
|
393
|
+
msgstr ""
|
394
|
+
|
395
|
+
#: ../lib/foreman_ansible/remote_execution.rb:23
|
396
|
+
msgid "Runs a given maintenance plan from Red Hat Access Insights given an ID."
|
207
397
|
msgstr ""
|
208
398
|
|
209
399
|
#: gemspec.rb:2
|