Do not require Ansible to be installed in a specific path (but must be found via which)
This commit is contained in:
parent
549ca9b641
commit
63c00e2870
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue