mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-17 06:29:12 -07:00
* rewritten as list literals
* added changelog fragment
(cherry picked from commit b97e31dd55
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
12d3c4e174
commit
f51cdb367f
11 changed files with 55 additions and 94 deletions
|
@ -71,10 +71,7 @@ class ImageFacts(object):
|
|||
self.filters = module.params['filters']
|
||||
|
||||
def return_all_installed_images(self):
|
||||
cmd = [self.module.get_bin_path('imgadm')]
|
||||
|
||||
cmd.append('list')
|
||||
cmd.append('-j')
|
||||
cmd = [self.module.get_bin_path('imgadm'), 'list', '-j']
|
||||
|
||||
if self.filters:
|
||||
cmd.append(self.filters)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue