Skip to content

What about Ansible Local as provisioner? #2

Description

@Tset-Noitamotua

Ansible can´t run as control machine on Windows. But there´s another option called 'Vagrant Ansible Local provisioner' What about it?

Can´t it be used to make this work on Windows?

It tried a quick fix by changing the line 18 from

vbox.vm.provision :ansible do |ansible|

to

vbox.vm.provision :ansible_local do |ansible|

but the I get this error:

Bringing machine 'virtualbox' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

ansible local provisioner:
* `playbook` does not exist on the guest: C:/vagrant/playbook.yml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions