[ansible-project] Re: Ansible return code ok or ko

2019-10-05 Thread 'J Hawkesworth' via Ansible Project
So there's probably several ways to do that. You could parse the ansible output and look for the things you are interested in in a wrapper script. You might find that is fragile though. What will happen when you have multiple plays in a playbook, or if you need to run more than one playbook to

Re: [ansible-project] How to execute two tasks under a play ?

2019-10-05 Thread scorp123
Leave the 2nd "tasks" statement away. Easy fix. On Thu, Oct 3, 2019 at 2:48 PM Mohtashim S wrote: > My requirement is to run two tasks i.e "Load Deployment1." & "Load > Deployment2." in my Play 4. > > Below is my playbook: > > - name: Play 4 > hosts: localhost > tasks: >- name: "Load Dep