Hi, I guess this is fairly simple question, but I'm stuck with it... I have a playbook that checks whether services are up on hosts and starts them if they are not in started state, for example:
- hosts: mailservers > > tasks: > - name: Check amavis service, and start if needed. > service: name=amavis state=started > What if i wanted to leave service in stopped state *only on one of the hosts* in "mailservers" group while performing this playbook? How can I achieve that? -- 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/bd347d9e-49fe-4598-8387-b0439665ba5c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
