Hi Ansible Gurus,
I have a playbook like below:
- name: Get Active Rest server
      include_role:
        name:  web-server
        tasks_from: active-rest-server

Now I have a playbook under the web-server role named
active-rest-server.yml !
So in case active-rest-server fails , can i use ignor_errors in above
snippet as well or i have to use it in that task only ?
  - name: Get Active Rest server
      include_role:
        name:  web-server
        tasks_from: active-rest-server
     ignore_errors: True

is that ok to do in case i want to ignore errors?

Rahul

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAGH8rEw6Qz9J-%2BswD9qL1qUjXQLwXgSCJU6vPwxBaYTXydFPnA%40mail.gmail.com.

Reply via email to