I\'m new to ansible and wonder how to do so as the following didn\'t work
ansible-playbook -i \'10.0.0.1,\' yada-yada.yml --tags \'loaddata\' django_fixtures=\"t
ansible-playbok -i -e "proc_name=sshd"
You can use the above command in below playbooks.
--- - name: Service Status gather_facts: False tasks: - name: Check Service Status (Linux) shell: pgrep "{{ proc_name }}" register: service_status ignore_errors: yes debug: var=service_status.rc`