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