---
- hosts: webservers
  tasks:
  - name: Show how variables can be registered
    shell: pwd
    register: pwd_output
  - name: What got saved
    debug: var=pwd_output
  - name: The return code
    debug: msg="Return code was {{ pwd_output['rc'] }}"

---
- hosts: webservers
  tasks:
  - name: Show how variables can be registered
    shell: pwd
    register: pwd_output
  - name: What got saved
    debug: var=pwd_output
  - name: The return code
    debug: msg="Return code was {{ pwd_output['rc'] }}"
  - name: The output was this
    debug: msg="The output was {{ pwd_output['stdout'] }}"

Add another example to Playbook Example 11
Add another example to Playbook Example 11

During an online session (https://www.youtube.com/watch?v=w8fOEEMqpOw), a live example came up to that was a very good suggestion. We changed it live. This is that commit.
