Hi,

I am trying to create a new role from my playbook. I had created a file 
with the created role

---
- hosts: localhost
  connection: local
  gather_facts: yes
  roles:
   - own_test

when i am trying with ansible-playbook own_role.yml getting an error

PLAY [localhost] 
***************************************************************

TASK [setup] 
*******************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": 
"/usr/bin/lsb_release -a", "failed": true, "msg": "[Errno 2] No such file 
or directory", "rc": 2}
to retry, use: --limit @/etc/ansible/playbooks/own_role.retry

PLAY RECAP 
*********************************************************************
localhost                  : ok=0    changed=0    unreachable=0    failed=1 
  

where is the mistake.Can anyone help me

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/39317ff8-89fe-4129-bbd8-ce56756d94fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to