From e30806c2b6c714d3301fbe6ef5d4728ef7cb4bfc Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 12 Jun 2023 15:42:21 +0200 Subject: [PATCH] afaa1 --- 01_vars.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/01_vars.yml b/01_vars.yml index c04dad6..02f19bd 100644 --- a/01_vars.yml +++ b/01_vars.yml @@ -26,3 +26,8 @@ - name: Show Status ansible.builtin.debug: var: httpd_status + + - name: Is httpd running + ansible.builtin.debug: + msg: httpd is running + when: httpd_status.state == "started"