[PR #3531/d1f820ed backport][stable-1] Fix shellcheck error (#3532)
* Fix shellcheck error. (#3531)
(cherry picked from commit d1f820ed06
)
* Vendored ipaddress is still present in stable-1 branch, so use that one.
Co-authored-by: Felix Fontein <felix@fontein.de>
pull/3576/head
parent
705e9bd1bd
commit
54ee93faec
|
@ -18,7 +18,7 @@
|
||||||
from __future__ import absolute_import, division, print_function
|
from __future__ import absolute_import, division, print_function
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
from ansible_collections.community.crypto.plugins.module_utils.compat import ipaddress
|
from ansible_collections.community.general.plugins.module_utils.compat import ipaddress
|
||||||
|
|
||||||
|
|
||||||
def _normalize_ipaddr(ipaddr):
|
def _normalize_ipaddr(ipaddr):
|
||||||
|
|
|
@ -50,7 +50,7 @@ function retry
|
||||||
echo "@* -> ${result}"
|
echo "@* -> ${result}"
|
||||||
done
|
done
|
||||||
echo "Command '@*' failed 3 times!"
|
echo "Command '@*' failed 3 times!"
|
||||||
exit -1
|
exit 255
|
||||||
}
|
}
|
||||||
|
|
||||||
command -v pip
|
command -v pip
|
||||||
|
|
Loading…
Reference in New Issue