Hi ,
Can someone please explain me this output format (what is ok , changed ,unrechable ,failed and it’s values meanings)?
Thanks in advance.
ansible-playbook uptime.yaml -e “hosts=all”
PLAY RECAP ******************************************************************************************************************************************************************
abc : ok=0 changed=0 unreachable=0 failed=1
def : ok=0 changed=0 unreachable=1 failed=0
ghi : ok=3 changed=1 unreachable=0 failed=0
uptime.yaml:
- hosts: ‘{{ hosts }}’
#remote_user: root
tasks:
- name: Collecting uptime On Group of Hosts
shell: uptime
register: look - debug: var=look.stdout_lines
Regards
Niraj