hammer_cli_foreman_ansible 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12f80a5bb288d8683aad9b3629edffbbd32bfb4afdf7aa597e4b370e2c19da58
4
- data.tar.gz: 03d9f616b2d17580d15e93cae6fb79e0c6b599091fa4f0ed9cb7d6d2db986cdf
3
+ metadata.gz: 32c16b23f420564793b4597a655ea5a5dc257ac7838b3b2218f889af22ede79a
4
+ data.tar.gz: ef68affb535272a58eabc0b72e57bd3b027f43885d18d706106d09dd268ff5ea
5
5
  SHA512:
6
- metadata.gz: 12f88c7777fae85e77ae1288aafb09e08d569989b7a19bedbc939cbaa0d374161b47e23de3f3a4ec35ae78567982d0dc832f4974a14223d0aed05e76092ff7f1
7
- data.tar.gz: 4bf5229134f1ce01c9ab517d5a9adb9281a5b9be0cced399fa78bbe55134e571525e51e9aed1c7802ef464a36162f7965eb3683faa294b89f5f99cf73be19c7f
6
+ metadata.gz: 7c594b36a66ad4427a202f65cf7e9a30332ad0e53c869e645c76e9030058fd39b2fefecd377d920991be1c4e7abe7d7630718d4e759e5a7a730a99d2b1d1a5c4
7
+ data.tar.gz: 2372fe71062d492e00bf0a0abb38c61690e91762a4d23e8be23080d5a8b6c7d5c745a904c9b8766a857b76ae8c83a5e5282fa50c68326cf23f78fc4f4f9957b3
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module HammerCLIForemanAnsible
4
+ module CommandExtensions
5
+ class JobTemplate < HammerCLI::CommandExtensions
6
+ before_print do |data|
7
+ unless data['provider_type'] == 'Ansible'
8
+ data.delete('ansible_callback_enabled')
9
+ end
10
+ end
11
+
12
+ output do |definition|
13
+ definition.insert(:before, :description) do
14
+ field :ansible_callback_enabled, _('Ansible Callback Enabled'), Fields::Boolean
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -1,2 +1,3 @@
1
1
  require 'hammer_cli_foreman_ansible/command_extensions/resolver'
2
2
  require 'hammer_cli_foreman_ansible/command_extensions/inventory'
3
+ require 'hammer_cli_foreman_ansible/command_extensions/job_template'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module HammerCLIForemanAnsible
4
4
  def self.version
5
- @version ||= Gem::Version.new '0.4.0'
5
+ @version ||= Gem::Version.new '0.6.0'
6
6
  end
7
7
  end
@@ -3,6 +3,7 @@ module HammerCLIForemanAnsible
3
3
  require 'hammer_cli_foreman'
4
4
  require 'hammer_cli_foreman/host'
5
5
  require 'hammer_cli_foreman/hostgroup'
6
+ require 'hammer_cli_foreman_remote_execution'
6
7
 
7
8
  require 'hammer_cli_foreman_ansible/version'
8
9
  require 'hammer_cli_foreman_ansible/i18n'
@@ -14,6 +15,8 @@ module HammerCLIForemanAnsible
14
15
 
15
16
  require 'hammer_cli_foreman_ansible/command_extensions'
16
17
 
18
+ HammerCLIForemanRemoteExecution::JobTemplate::InfoCommand.extend_with(HammerCLIForemanAnsible::CommandExtensions::JobTemplate.new)
19
+
17
20
  HammerCLI::MainCommand.lazy_subcommand(
18
21
  'ansible',
19
22
  'Manage foreman ansible',
@@ -0,0 +1,440 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the hammer_cli_foreman_ansible package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: hammer_cli_foreman_ansible 0.5.0\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2023-07-12 14:40+0000\n"
11
+ "PO-Revision-Date: 2023-07-12 14:40+0000\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+ "Language: \n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
19
+
20
+ msgid "Manage ansible roles"
21
+ msgstr ""
22
+
23
+ msgid "Manage ansible variables"
24
+ msgstr ""
25
+
26
+ msgid "Ansible Inventory"
27
+ msgstr ""
28
+
29
+ msgid "Full response as json"
30
+ msgstr ""
31
+
32
+ msgid "Job Id"
33
+ msgstr ""
34
+
35
+ msgid "Data URL"
36
+ msgstr ""
37
+
38
+ msgid "Id"
39
+ msgstr ""
40
+
41
+ msgid "Name"
42
+ msgstr ""
43
+
44
+ msgid "Imported at"
45
+ msgstr ""
46
+
47
+ msgid "Ansible role [%{name}] was deleted."
48
+ msgstr ""
49
+
50
+ msgid "Could not delete the role"
51
+ msgstr ""
52
+
53
+ msgid "A task to Sync Ansible Roles was created."
54
+ msgstr ""
55
+
56
+ msgid "Could not sync roles"
57
+ msgstr ""
58
+
59
+ msgid "Could not import roles"
60
+ msgstr ""
61
+
62
+ msgid "Result"
63
+ msgstr ""
64
+
65
+ msgid "Imported"
66
+ msgstr ""
67
+
68
+ msgid "The following ansible roles were changed"
69
+ msgstr ""
70
+
71
+ msgid "No changes in ansible roles detected."
72
+ msgstr ""
73
+
74
+ msgid "Could not obsolete roles"
75
+ msgstr ""
76
+
77
+ msgid "Obsoleted"
78
+ msgstr ""
79
+
80
+ msgid "Could not fetch roles"
81
+ msgstr ""
82
+
83
+ msgid "Ansible roles available to be imported"
84
+ msgstr ""
85
+
86
+ msgid "Role Name"
87
+ msgstr ""
88
+
89
+ msgid "Action"
90
+ msgstr ""
91
+
92
+ msgid "Variables"
93
+ msgstr ""
94
+
95
+ msgid "Ansible roles are being played. Job ID: %{id}"
96
+ msgstr ""
97
+
98
+ msgid "Could not play roles on hosts"
99
+ msgstr ""
100
+
101
+ msgid "Could not play roles on hostgroups"
102
+ msgstr ""
103
+
104
+ msgid "Variable"
105
+ msgstr ""
106
+
107
+ msgid "Default Value"
108
+ msgstr ""
109
+
110
+ msgid "Type"
111
+ msgstr ""
112
+
113
+ msgid "Role"
114
+ msgstr ""
115
+
116
+ msgid "Role Id"
117
+ msgstr ""
118
+
119
+ msgid "Description"
120
+ msgstr ""
121
+
122
+ msgid "Hidden Value?"
123
+ msgstr ""
124
+
125
+ msgid "Validator"
126
+ msgstr ""
127
+
128
+ msgid "Rule"
129
+ msgstr ""
130
+
131
+ msgid "Override values"
132
+ msgstr ""
133
+
134
+ msgid "Override"
135
+ msgstr ""
136
+
137
+ msgid "Merge overrides"
138
+ msgstr ""
139
+
140
+ msgid "Merge default value"
141
+ msgstr ""
142
+
143
+ msgid "Avoid duplicates"
144
+ msgstr ""
145
+
146
+ msgid "Order"
147
+ msgstr ""
148
+
149
+ msgid "Values"
150
+ msgstr ""
151
+
152
+ msgid "Match"
153
+ msgstr ""
154
+
155
+ msgid "Value"
156
+ msgstr ""
157
+
158
+ msgid "Ansible variable [%{variable}] was created."
159
+ msgstr ""
160
+
161
+ msgid "Could not create the ansible variable"
162
+ msgstr ""
163
+
164
+ msgid "Ansible variable [%{variable}] was deleted."
165
+ msgstr ""
166
+
167
+ msgid "Could not delete the variable"
168
+ msgstr ""
169
+
170
+ msgid "Ansible variable [%{variable}] updated."
171
+ msgstr ""
172
+
173
+ msgid "Could not update the ansible variable"
174
+ msgstr ""
175
+
176
+ msgid "The order in which values are resolved"
177
+ msgstr ""
178
+
179
+ msgid "Could not import variables"
180
+ msgstr ""
181
+
182
+ msgid "The following ansible variables were changed"
183
+ msgstr ""
184
+
185
+ msgid "No changes in ansible variables detected."
186
+ msgstr ""
187
+
188
+ msgid "Could not obsolete variables"
189
+ msgstr ""
190
+
191
+ msgid "Override value, required if omit is false"
192
+ msgstr ""
193
+
194
+ msgid "Override value created."
195
+ msgstr ""
196
+
197
+ msgid "Could not create the override value"
198
+ msgstr ""
199
+
200
+ msgid "Override value deleted."
201
+ msgstr ""
202
+
203
+ msgid "Could not delete the override value"
204
+ msgstr ""
205
+
206
+ msgid ""
207
+ "Ansible role %{name} is already inherited from a host group. Please use "
208
+ "%{option} for direct association."
209
+ msgstr ""
210
+
211
+ msgid "Ansible role %s is not assigned directly and cannot be removed."
212
+ msgstr ""
213
+
214
+ msgid "FQDN"
215
+ msgstr ""
216
+
217
+ msgid "Host Group"
218
+ msgstr ""
219
+
220
+ msgid "Location"
221
+ msgstr ""
222
+
223
+ msgid "Organization"
224
+ msgstr ""
225
+
226
+ msgid "Domain"
227
+ msgstr ""
228
+
229
+ msgid "Foreman domain description"
230
+ msgstr ""
231
+
232
+ msgid "Owner name"
233
+ msgstr ""
234
+
235
+ msgid "Owner email"
236
+ msgstr ""
237
+
238
+ msgid "SSH authorized keys"
239
+ msgstr ""
240
+
241
+ msgid "Root password"
242
+ msgstr ""
243
+
244
+ msgid "Foreman config groups"
245
+ msgstr ""
246
+
247
+ msgid "Puppet master"
248
+ msgstr ""
249
+
250
+ msgid "Puppet environment"
251
+ msgstr ""
252
+
253
+ msgid "Subnets"
254
+ msgstr ""
255
+
256
+ msgid "Network"
257
+ msgstr ""
258
+
259
+ msgid "Mask"
260
+ msgstr ""
261
+
262
+ msgid "Gateway"
263
+ msgstr ""
264
+
265
+ msgid "Primary DNS"
266
+ msgstr ""
267
+
268
+ msgid "Secondary DNS"
269
+ msgstr ""
270
+
271
+ msgid "From"
272
+ msgstr ""
273
+
274
+ msgid "To"
275
+ msgstr ""
276
+
277
+ msgid "Boot mode"
278
+ msgstr ""
279
+
280
+ msgid "IPAM"
281
+ msgstr ""
282
+
283
+ msgid "VLAN ID"
284
+ msgstr ""
285
+
286
+ msgid "MTU"
287
+ msgstr ""
288
+
289
+ msgid "NIC delay"
290
+ msgstr ""
291
+
292
+ msgid "Network type"
293
+ msgstr ""
294
+
295
+ msgid "Network interfaces"
296
+ msgstr ""
297
+
298
+ msgid "Interface Name"
299
+ msgstr ""
300
+
301
+ msgid "Identifier"
302
+ msgstr ""
303
+
304
+ msgid "Attributes"
305
+ msgstr ""
306
+
307
+ msgid "MAC address"
308
+ msgstr ""
309
+
310
+ msgid "IPv4 address"
311
+ msgstr ""
312
+
313
+ msgid "IPv6 address"
314
+ msgstr ""
315
+
316
+ msgid "Virtual"
317
+ msgstr ""
318
+
319
+ msgid "Link"
320
+ msgstr ""
321
+
322
+ msgid "Managed"
323
+ msgstr ""
324
+
325
+ msgid "Primary"
326
+ msgstr ""
327
+
328
+ msgid "Provision"
329
+ msgstr ""
330
+
331
+ msgid "IPv6 subnet"
332
+ msgstr ""
333
+
334
+ msgid "Tag"
335
+ msgstr ""
336
+
337
+ msgid "Attached to"
338
+ msgstr ""
339
+
340
+ msgid "Attached devices"
341
+ msgstr ""
342
+
343
+ msgid "Subnet"
344
+ msgstr ""
345
+
346
+ msgid "Foreman Users"
347
+ msgstr ""
348
+
349
+ msgid "First name"
350
+ msgstr ""
351
+
352
+ msgid "Last name"
353
+ msgstr ""
354
+
355
+ msgid "Email"
356
+ msgstr ""
357
+
358
+ msgid "Full name"
359
+ msgstr ""
360
+
361
+ msgid "Foreman Ansible Roles"
362
+ msgstr ""
363
+
364
+ msgid "Ansible role check mode"
365
+ msgstr ""
366
+
367
+ msgid "Host packages"
368
+ msgstr ""
369
+
370
+ msgid "Host registration insights"
371
+ msgstr ""
372
+
373
+ msgid "Host registration remote execution"
374
+ msgstr ""
375
+
376
+ msgid "Remote execution ssh keys"
377
+ msgstr ""
378
+
379
+ msgid "Remote execution ssh user"
380
+ msgstr ""
381
+
382
+ msgid "Remote execution effective user method"
383
+ msgstr ""
384
+
385
+ msgid "Remote execution connect by IP"
386
+ msgstr ""
387
+
388
+ msgid "Ansible Callback Enabled"
389
+ msgstr ""
390
+
391
+ msgid "Manage Ansible roles on a host"
392
+ msgstr ""
393
+
394
+ msgid "Inherited"
395
+ msgstr ""
396
+
397
+ msgid "Directly assigned"
398
+ msgstr ""
399
+
400
+ msgid "Could not play roles on a host"
401
+ msgstr ""
402
+
403
+ msgid "Ansible roles were assigned to the host"
404
+ msgstr ""
405
+
406
+ msgid "Could not assign roles to the host"
407
+ msgstr ""
408
+
409
+ msgid "Associate an Ansible role"
410
+ msgstr ""
411
+
412
+ msgid "Associate the Ansible role even if it already is associated indirectly"
413
+ msgstr ""
414
+
415
+ msgid "Ansible role has been associated."
416
+ msgstr ""
417
+
418
+ msgid "Could not associate the Ansible role"
419
+ msgstr ""
420
+
421
+ msgid "Disassociate an Ansible role"
422
+ msgstr ""
423
+
424
+ msgid "Ansible role has been disassociated."
425
+ msgstr ""
426
+
427
+ msgid "Could not disassociate the Ansible role"
428
+ msgstr ""
429
+
430
+ msgid "Manage Ansible roles on a hostgroup"
431
+ msgstr ""
432
+
433
+ msgid "Could not play roles on a hostgroup"
434
+ msgstr ""
435
+
436
+ msgid "Ansible roles were assigned to the hostgroup"
437
+ msgstr ""
438
+
439
+ msgid "Could not assign roles to the hostgroup"
440
+ msgstr ""