Actually, I prefer to have separate playbooks for configuration
management and deployment. The 1st rarely involves orchestrating
servers in anything complicated where ordering matters. And the 2nd
almost always involves ordered steps across multiple servers. That way
things can deployed without having to do a CM run for all the
machines.

It's nice the ansible does both configuration management and server
orchestration (application deployment), but that doesn't mean it
should all be in the same playbooks.

On Thu, May 21, 2015 at 12:21 PM, Marcus Franke <[email protected]> wrote:
> Hi,
>
> What about using tags and sorting out those tasks you need for an
> deployment? Running just half of your playbook?
>
> http://docs.ansible.com/playbooks_tags.html
>
> Regards,
> Marcus
>
> Am 20.05.2015 20:20 schrieb "J Hawkesworth"
> <[email protected]>:
>>
>> Have you considered setting local facts. You could then test for the local
>> fact being present and then skip steps which don't need to be repeated?
>>
>> --
>> 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/842b49ee-18c7-43b6-b3ac-64a890d0c90c%40googlegroups.com.
>> 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/CAFRuYVf6-TL3iMCGimQ8gWW1F1nX142%2B4eFvfN4Exaj6C9%2B97A%40mail.gmail.com.
> 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/CAJQqANcivfdbPAixB%2BrBPvHfqRp8ugKNHv%2BJienMzZ8vzqXRBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to