title: ansible playbook : changes not getting reflected
body: <p>I have written ansible-playbook to configure hostname on VyOS server.
  Playbook is not giving any errors, But changes are not getting reflected on VyOS</p>
  
  <p>Here is the playbook:</p>
  
  <pre><code>--- 
   - hosts : server1
     vars:
      inventory_hostname : vyos_host
     name : setting host name
        vyos_config
          lines
            - set system host-name {{ inventory_hostname }}
  </code></pre>
  
  <p>default host file i am using is :</p>
  
  <p>/etc/ansible/project/hostfile</p>
  
  <pre><code>[server1]
  192.168.1.82
  
  [sever2]
  192.168.1.88
  </code></pre>