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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to