diff --git a/files/bashrc.d/70-util-ansible.sh b/files/bashrc.d/70-util-ansible.sh index d2401df..35d0091 100644 --- a/files/bashrc.d/70-util-ansible.sh +++ b/files/bashrc.d/70-util-ansible.sh @@ -1,4 +1,6 @@ # Disable ansible cowsay -export ANSIBLE_NOCOWS=1 +if hash ansible > /dev/null 2>&1 ; then + export ANSIBLE_NOCOWS=1 +fi