From 97a697f308e1d9035e60bc8f266306c85c957663 Mon Sep 17 00:00:00 2001 From: Egor Vasilyev Date: Mon, 4 Dec 2023 10:19:16 +0300 Subject: [PATCH] format netstat output --- molecule/end-to-end/verify.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/molecule/end-to-end/verify.yml b/molecule/end-to-end/verify.yml index e00738c..28a864a 100644 --- a/molecule/end-to-end/verify.yml +++ b/molecule/end-to-end/verify.yml @@ -8,12 +8,14 @@ ansible.builtin.include_tasks: file: ../verify-common.yml - - name: temporary test - ansible.builtin.shell: | - netstat -tulpn - register: netstat - changed_when: false + - name: Netstat output + block: + - name: Run netstat + ansible.builtin.shell: | + netstat -tulpn + register: netstat + changed_when: false - - name: Debug - ansible.builtin.debug: - var: netstat + - name: Netstat debug + ansible.builtin.debug: + var: netstat