--- - name: Verify Middleware Apache hosts: all become: true gather_facts: false tasks: - name: Verify Middleware Apache package presence ansible.builtin.debug: msg: "Middleware Apache package is present on this host." when: - mw_apache_is_installed | bool - name: Verify Middleware Apache process is running ansible.builtin.debug: msg: "Middleware Apache process is running." when: - mw_apache_is_running | bool