Update initiate_monitor_status.yml
---
- name: Check if monitor_status.py is already running
- ansible.builtin.shell: ps aux | grep python
+ ansible.builtin.shell: |
+ set -o pipefail
+ ps aux | grep python
register: ps_output
changed_when: false
