additional course material RH294
Olaf Bohlen
2020-02-19 08669995dd66a7051d2fc222fec02a0bc71c1dff
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