Hello, I dont know how to implement group ordering in the right way. Example: Start or Stop application with database. When starting: i need to start DB first, then APP itself When stopping: i need to do reverse order
Right now i'm using groups inside inventory file, so it's easy to say that host is doing (groups are used like labels). And playbook has strict rules about what hosts it takes (like: -hosts: db). But i'm look to appropriate way to create high level playbook so it generick for start/stop/status tasks. May be i'm trying to do things 'from behind', so please help me understand possible ways to handle that. Thank you in advance. -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b99f6ada-6eb8-4ad3-9a40-1c3b202109ab%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.