Open firyx opened 3 years ago
We could play around with adding something like this as a previous step, so we can replicate the behaviour:
if [ $# -eq 0 ]; then
exit 1
fi
echo $*
Or maybe we can just drop the -r
parameter? Looking at all the uses of -r
in ansible-playbooks
, removing it will just result in a bunch of errors where we have a no-op today.
Describe the bug
On MacOS we get an error (when executing a playbook and
ansiblecm
container is not running):caused by calling
xargs
with-r
flag:docker ps -a | grep ansiblecm | awk '{print $1;}' | xargs -r docker stop > /dev/null
To Reproduce
Expected behavior
Screenshots
Version Information (please complete the following information):
Additional context