Installing RabbitMQ on ood node
In group_vars/all, I leave password blank. When running playbook, pass in with arguments like this:
--extra-vars rabbitmq_user_password="YoUrPasSwOrd"
So the command in packer build.json should be something like this:
{
"type": "shell",
"inline": [
"sudo ansible-playbook -c local -i /CRI_XCBC/hosts -l `hostname -s` /CRI_XCBC/site-build.yaml -b --extra-vars rabbitmq_user_password='YoUrPasSwOrd'"
]
}