Skip to content

Commit c5496fb

Browse files
committed
fix: roles/client-scripts: Move code around to get expected output
1 parent 5babc40 commit c5496fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playbooks/satellite/roles/client-scripts/files/clients_host-registration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
ansible.builtin.shell: |
1818
/root/clients_host-registration.sh &>/root/registration.log
1919
ret=$?
20-
cat /root/registration.log
2120
echo "-" >>/root/registration.log
2221
echo "Return code: $ret" >>/root/registration.log
2322
echo "-----" >>/root/registration.log
23+
cat /root/registration.log
2424
exit $ret
2525
environment:
2626
TZ: UTC # make sure returned times are in UTC

0 commit comments

Comments
 (0)