The following…
- name: Build new gateway VM
shell: "dist_build_non_interactive=true /home/ansible/derivative-maker/derivative-maker --flavor whonix-gateway-xfce --target virtualbox --build >> /home/ansible/build.log 2>&1"
Would stay mostly the same. Just it would do something like this:
- name: Build new gateway VM
shell: "/home/ansible/derivative-maker/derivative-maker/ci/build-gateway >> /home/ansible/build.log 2>&1"
(dist_build_non_interactive=true
would be set within ci/build-gateway
.)