Ansible: no hosts matched : <p>I'm trying to execute my first remote shell script on Ansible. I've first generated and copied the SSH keys. Here is my yml file:</p>

<pre><code>---
- name: Ansible remote shell
  hosts: 192.168.10.1
  user: myuser1
  become: true
  become_user: jboss
  tasks:
    - name: Hello server
      shell: /home/jboss/script.sh
</code></pre>

<p>When launching the playbook however, the outcome is "no hosts matched":</p>

<pre><code>ansible-playbook setup.yml 

PLAY [Ansible remote shell
******************************************** 
skipping: no hosts matched

PLAY RECAP ******************************************************************** 
</code></pre>

<p>I've tried also using the host name (instead of the IP address), however nothing changed. Any help ?</p>
