Basically installing any arbitrary application with Ansible (how to write a
playbook) is a bit out of scope for this list.

I'd take a look at github.com/ansible/ansible-examples and more importantly
galaxy.ansible.com for some starters on playbook construction, review
module docs, and go from there.

If Consul is hard to install, that is somewhat of Consul's problem, alas :)




On Mon, May 19, 2014 at 8:22 PM, Brian Hicks <[email protected]> wrote:

> I'm new to Ansible, and trying to write a state to set up and bootstrap a
> Consul cluster.
>
> I seem to have the basics down (downloading packages, and all.) However,
> I'm stuck on the components of the bootstrap process (
> http://www.consul.io/docs/guides/bootstrapping.html). Specifically:
>
>
>    - How can I ensure that a given set of tasks only executes if a
>    command succeeds/fails on *all* the target servers?
>    - How can I run a command on only one server, followed by all the rest?
>
> Starting servers in consul is pretty easy. But the bootstrap process is a
> delicate little dance right now, one which I feel Ansible could deal with
> pretty well. But without these two things, is there any way it could be
> done?
>
> --
> 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/32149c71-6ee7-479f-95dc-ff3c4b020038%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/32149c71-6ee7-479f-95dc-ff3c4b020038%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/CA%2BnsWgz6eDn-PChah9FVChy%3D0s5iWibUnsmESfC2HvZS--XsRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to