“skipping: no hosts matched” issue with Vagrant and Ansible

前端 未结 9 1173

I have installed Vagrant, VirtualBox and Ansible and trying to run provision over one host but it always returns \"skipping: no hosts matched\"

The head of my playbook f

9条回答
  •  无人共我
    2021-02-05 03:09

    Changing hosts to "all" worked for me.

    ---
    - hosts: all
      user: vagrant
      sudo: yes
    

提交回复
热议问题