Do not require Ansible to be installed in a specific path (but must be found via which)

This commit is contained in:
Jan Beilicke 2020-03-29 16:56:18 +02:00
parent 549ca9b641
commit 63c00e2870

View file

@ -1,4 +1,4 @@
---
- name: Install Ansible
raw: test -e /usr/local/bin/ansible || pip3 install ansible
raw: which ansible || pip3 install ansible
changed_when: false