Ansible 2.1
In the playbook, I started a process: - name: Start Automation Agent, and enable start on boot service: name=mongodb-mms-automation-agent state=started enabled=yes >From play recap, it appears the process has successfully started. TASK [install : Start automation agent, and enable start on boot] ************** changed: [server1] However, when log in to remote host and do a ps, the process is not running. Checking on process log it had failed some pre-requisite (intended for testing). How do I write a task in a playbook to confirm the process has successfully started? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/30e16281-d575-4c6c-a941-267992d7ad19%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
