cm@Balsa ~/techops/shared/cm/ansible $ ansible-playbook playbooks/debug1.yml
PLAY [localhost] **************************************************************************************************
TASK [Gathering Facts] ********************************************************************************************
ok: [localhost]
TASK [executing sample command] ***********************************************************************************
changed: [localhost]
TASK [printing variable] ******************************************************************************************
ok: [localhost] => {
"abcd": {
"changed": true,
"cmd": "echo \"Decoding DevOps\"",
"delta": "0:00:00.007985",
"end": "2020-05-15 12:31:56.116034",
"failed": false,
"rc": 0,
"start": "2020-05-15 12:31:56.108049",
"stderr": "",
"stderr_lines": [],
"stdout": "Decoding DevOps",
"stdout_lines": [
"Decoding DevOps"
]
}
}
TASK [printing variable with stdout] ******************************************************************************
ok: [localhost] => {
"abcd.stdout": "Decoding DevOps"
}
TASK [printing variable with adding some extra message] ***********************************************************
ok: [localhost] => {
"msg": "Hi This Is Decoding DevOps"
}
PLAY RECAP ********************************************************************************************************
localhost : ok=5 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
cm@Balsa ~/techops/shared/cm/ansible $