Skip to content

Deprecate the ansible provision playbook #3450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
afbjorklund opened this issue Apr 21, 2025 · 0 comments · Fixed by #3451
Closed

Deprecate the ansible provision playbook #3450

afbjorklund opened this issue Apr 21, 2025 · 0 comments · Fixed by #3451
Milestone

Comments

@afbjorklund
Copy link
Member

afbjorklund commented Apr 21, 2025

Currently we have an "ansible" type of provision, that runs a playbook from an inventory.

It would be better for the user to run these outside of Lima, after the instance is started.

ansible-playbook -i inventory.yaml playbook.yaml


If really wanting to use Ansible for VM provisioning, one could start it from a shell script?

That is, install ansible on the instance and then run the playbook from a data file.

Generating an inventory is not needed when run locally, with ansible_connection=local

It is only used when ansible is running on the host, to supply the hosts and groups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants