title: Ansible playbook doesn't start?
body: <p>Here is my Ansible playbook to create a new vm.</p>
  
  <pre><code>---
  - name: Create a VM in OA resource pool
    hosts: local
    connection: local
    gather_facts: False
    tasks:
    - name: create VM
      vsphere_guest:
          vcenter_hostname: https:\\virtualcenter
          username: '{{ user }}'
          password: '{{ password }}'
          guest: '{{ guest }}'
          state: powered_off
          vm_extra_config:
              vcpu.hotadd: yes
              mem.hotadd: yes
              notes: This is a test VM
          vm_disk:
              disk1:
                  size_gb: 10
                  type: thick
                  datastore: storage
          vm_nic:
              type: vmxnet3
              network: network1
          vm_hardware:
              memory_mb: 1024
              num_cpus: 1
              osid: centos64Guest
              scsi: paravirtual
          resource_pool: "RP1"
  </code></pre>
  
  <p>Variables are passed from a command line.
  However, when I try to run the task I get this:</p>
  
  <pre><code>No config file found; using defaults
   [WARNING]: Host file not found: /etc/ansible/hosts
  
   [WARNING]: provided hosts list is empty, only localhost is available
  
  
  PLAYBOOK: createvm.yml *********************************************************
  1 plays in playbooks/vmware/createvm.yml
  
  PLAY [Create a VM in OA resource pool] *****************************************
  skipping: no hosts matched
  
  PLAY RECAP *********************************************************************
  </code></pre>
  
  <p>What can be reason of that? A typo? Syntax check with list tasks also doesn't show anything.</p>