Dubug in ansible

------------------------------- [mohammedrafi@ansible ~]$ touch shaik ------------------------------- [mohammedrafi@ansible ~]$ vim reg.yml --- - hosts: localhost tasks: - command: stat shaik register: one - debug: var=one ------------------------------- [mohammedrafi@ansible ~]$ ansible-playbook reg.yml PLAY [localhost] *************************************************************** TASK [setup] ******************************************************************* ok: [localhost] TASK [command] ***************************************************************** changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "one": { "changed": true, "cmd": [ … Continue reading Dubug in ansible