additional course material RH294
Olaf Bohlen
2020-08-20 1de6236f80a879ca110981fe0e5c0c05c521225b
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- name: sample register play
  hosts: server
  become: false
  tasks:
    - name: "Get OS version string"
      shell: cal
      register: shellout
    - name: "output shellout"
      debug:
        var: shellout['stdout']
    - debug:
        var: shellout