Hello,
what happens with ERB vars???.
Foreman render yor ERB job template with the values of the first host to run. Then create /tmp/xxxxxx/project/playbook.yml with that rendered job template so you are going to use the host.shortname value of the first host with the 2 host, the 3… Perphaps I’m not seeing something… but its a big problem that means you can’t use Host Specific Variables.
am I right???
I have been a problem with this (temporary workarounded) explained with more detailed at: