3 ms·
Another nice trick is to use your shebang line. #!/usr/bin/env ansible-playbook --- - hosts: localhost connection: local vars:
by Spivak 6y ago
Another nice trick is to use your shebang line.
#!/usr/bin/env ansible-playbook
---
- hosts: localhost
connection: local
vars:
home: "{{ lookup('env', 'HOME') }}"
tasks:
# ...
So then it just becomes.
pip install -r requirements.txt
./install --tags=bash