Skip to content

Deprecate the ansible provision playbook #3450

@afbjorklund

Description

@afbjorklund

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions