Since Packer's ansible plugin got support for collections
to ansible-local provisioner on version 1.0.3
No need to use the galaxy_command option to install
collections manually. This option doesn't work with the new collection
support adding "install -r install -r" to the collection installer
command:
ansible-galaxy collection install -r install -r requirements.yml \ -p galaxy_roles/
Set minimum required packer ansible plugin from 1.0.0 to 1.0.3
Switch from ansible pip package to ansible-core from AppStream
Since Packer's ansible plugin got support for collections to ansible-local provisioner on version 1.0.3
install -r install -r
" to the collection installer command:ansible-galaxy collection install -r install -r requirements.yml \ -p galaxy_roles/
Signed-off-by: Elkhan Mammadli elkhan.mammadli@protonmail.com