additional course material RH294
Olaf Bohlen
2019-12-04 96eda8797a3510ea39108406fdbedd1d0a1d47e0
commit | author | age
97d9af 1 ---
SU 2 - name: sample register play
3   hosts: server
4   become: false
5   tasks:
6     - name: "Get OS version string"
7       shell: cal
8       register: shellout
9     - name: "output shellout"
10       debug:
11         var: shellout['stdout']
12     - debug:
13         var: shellout