How to export or convert Ansible playbook to a Bash script?

Viewed 597

I need to export a rather long Ansible playbook to a Bash script.

The idea is to have a bash script that runs the same commands that Ansible would run from the playbook if the playbook was executed, with all Ansible variables properly resolved.

I need this because I want to run this playbook's commands sequence in an environment where Ansible does not exist or is not used.

0 Answers
Related