mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
Move interface management into delegate_to test.
This commit is contained in:
parent
7ad003bf68
commit
07e9438848
3 changed files with 41 additions and 9 deletions
|
@ -75,15 +75,6 @@ fi
|
|||
|
||||
if [ "${platform}" = "freebsd" ] || [ "${platform}" = "osx" ]; then
|
||||
pip install virtualenv
|
||||
|
||||
# Tests assume loopback addresses other than 127.0.0.1 will work.
|
||||
# Add aliases for loopback addresses used by tests.
|
||||
|
||||
for i in 3 4 254; do
|
||||
ifconfig lo0 alias "127.0.0.${i}" up
|
||||
done
|
||||
|
||||
ifconfig lo0
|
||||
fi
|
||||
|
||||
# Since tests run as root, we also need to be able to ssh to localhost as root.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue