Currently the image for the compute nodes is built, via packer, by invoking ansible-pull. This will always grab the latest version of the playbook from Git. We pin the branch to the same one as the management node was built from, but this requires care for compatibility on the branch.
This PR changes how Ansible is run by using Packer to to invoke ansible-playbook on the compute image which loads from the version of the playbook physically sitting on the management node. This ensures that they are always identical unless the admin explicitly updates them.
Currently the image for the compute nodes is built, via packer, by invoking
ansible-pull
. This will always grab the latest version of the playbook from Git. We pin the branch to the same one as the management node was built from, but this requires care for compatibility on the branch.This PR changes how Ansible is run by using Packer to to invoke
ansible-playbook
on the compute image which loads from the version of the playbook physically sitting on the management node. This ensures that they are always identical unless the admin explicitly updates them.