mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
Update CI (#1782)
* Update targets for CI for devel branch; move some targets to stable-2.10. * Skipping test on RHEL 8.3 (it is already skipped on RHEL 8.2). * Linting. * Shut 2.9/2.10 pylint complaints up.
This commit is contained in:
parent
9a6031ab4e
commit
e9551df5ed
14 changed files with 28 additions and 29 deletions
|
@ -38,7 +38,7 @@ def build_dict():
|
|||
for c in lxc.list_containers()])
|
||||
|
||||
# Extract the groups, flatten the list, and remove duplicates
|
||||
groups = set(sum([g for g in containers.values()], []))
|
||||
groups = set(sum(containers.values(), []))
|
||||
|
||||
# Create a dictionary for each group (including the 'all' group
|
||||
return dict([(g, {'hosts': [k for k, v in containers.items() if g in v],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue