Ah! Fantastic. Thank you. I put in max_fail_percentage, and the thing I
wanted to happen happened.
I do wonder about how to more elegantly handle one of the nodes failing,
with a handler. Like something simple to start: prompt: pause here, go fix
that node if you can. If you can't, ctrl-c now.
Hi.
I'm working on some orchestration where I need to run a task across sets of
N remote nodes. If that task fails on any one of the remote nodes, the
orchestration needs to halt (or be handled somehow). In my test, I cause
one node to fail and I expected the entire ansible run to bomb out,
Hiya.
In my playbook, I have two plays: the first is to be run on the control
host, the second is run on a set of remote app hosts. What I want to do is
have a variable determined by a task in the first play be used as a shell
script argument for a task in the second play. I don't know how to
Yep. Thank you! A coworker pointed out a similar post:
https://groups.google.com/forum/#!searchin/ansible-project/felix/ansible-project/C51U547IXwY/2IyoNqCZpTQJ.
Sorry I didn't catch that one before I posted my question.
I feared that hostvars dict created in localhost task might not be
Thank you. However, our playbooks don't use roles. For our deployment
orchestration, it doesn't seem necessary, or at least it works well without
them.
Can anyone speak to how that variable is getting set as the playbook
executes the second include? Will this absolutely not work without roles?
Thank you Brian. That's the Clue I needed. I'll rethink this...
kallen
--
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
bump?
--
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
Hi there,
I'm using ansible 1.9.2. We don't use ansible for configuration management,
but instead for deployment automation.
I'm trying to set some conditions early on in a play so that the right
tasks get executed under the right conditions later in the play. This play
is called multiple
Hi. I hope someone can help me out here. In one of my plays, I need to have
a user be able to run an ansible task which runs a command on a remote host
with sudo. On the remote host, the user is allowed to run this command with
root privs, per the sudoers rules. But it's not working, and it
Hello. I'm trying to send output via debug and hipchat which I want to
appear as multiple lines. But I'm failing. Can anyone advise? In my test
below, I of course want the output to show up like this:
i am a runon sentence
i go on and on
Here is my test play and the results. I'm using
10 matches
Mail list logo