mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-26 07:51:44 -07:00
Fix docker_container tests (#549)
* Stop using ansible.netcommon.next_nth_usable. It requires netaddr to be installed before running the playbook, which isn't the case in CI. This undoes https://github.com/ansible/ansible/pull/62928/commits/cf61474c3bb2f5d7de6fb0726590de4ddbe4b18b. * Use own filter to avoid needing netaddr installed.
This commit is contained in:
parent
c3595abcf0
commit
a6c225e4a0
3 changed files with 65 additions and 25 deletions
|
@ -9,11 +9,6 @@
|
|||
- debug:
|
||||
msg: "Using container name prefix {{ cname_prefix }}"
|
||||
|
||||
# Install netaddr
|
||||
- name: Install netaddr for ipaddr filter
|
||||
pip:
|
||||
name: netaddr
|
||||
|
||||
# Run the tests
|
||||
- block:
|
||||
- include_tasks: run-test.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue