Ansible how to construct array from shell registered output including respective hostname – Nginx
I am trying to get the status of a process from each host of a specific group and print the hostname and process status in table format. [nginx] 172.1.0.1 172.1.0.2 --- hosts: all tasks: - name: Get process status shell:…