Hi Le Van, this is typically what tags are used for. The other alternative
is to simply create separate playbooks for them, though there is not really
any best practice guideline for that. It's mostly a matter of personal
preference.

Thanks!

On Wed, Feb 4, 2015 at 9:59 PM, Le Van <[email protected]> wrote:

> Hi,
>
> Is there a way (best practice) to separate playbook to provision tasks (
> setup only) and operation tasks (  backup db, restore db, restart app,...)
>
> One example is
>
> site.yml ( for provisioning)
> rolling-update.yml ( for deploy,..)
> dbtasks.yml ( for other tasks,..)
> apptasks.yml ( for handle app)
> ...
>
>
> What a proposed directory layout for it?
>
> Thanks,
> Pilgrim
>
>
>  --
> 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/1d911438-f234-4181-a074-7a56159d38d5%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/1d911438-f234-4181-a074-7a56159d38d5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMFyvFjdFE0s4_7GNXp3yiz70AitNb7WTsN18VAG-uPGtKgJJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to