Closed donovanmuller closed 4 years ago
It would be great to add support for ansible-galaxy install before running plays. Especially in the form of a requirements.yml E.g.
ansible-galaxy install
requirements.yml
... provisioner "ansible" { plays { galaxy { requirements = [ file_path = "${path.module}/ansible/requirements.yml" ] } playbook { file_path = "${path.module}/ansible/playbooks/example.yml" roles_path = [ "${path.module}/ansible/roles" ] } } ...
or something like that...
This looks like a good candidate to implement. Should not be very difficult to add.
It would be great to add support for
ansible-galaxy install
before running plays. Especially in the form of arequirements.yml
E.g.or something like that...