# vim:ts=2:sw=2:et:filetype=ansible --- - name: Execute pre patch commands shell: cmd: '{{ item }}' loop: '{{ patch_pre_exec }}' register: patch_pre_exec_res - name: show results of patch_pre_exec actions debug: verbosity: 1 var: patch_pre_exec_res