From bcc2a4b513c59bcdbbc441304587ea88d830ca59 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Mon, 9 Sep 2013 10:20:41 -0500 Subject: [PATCH] Minor fix so the any_errors_fatal value is checked properly --- lib/ansible/playbook/play.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/play.py b/lib/ansible/playbook/play.py index ea069f32211..4ebc1b6cb03 100644 --- a/lib/ansible/playbook/play.py +++ b/lib/ansible/playbook/play.py @@ -111,7 +111,7 @@ class Play(object): self.transport = ds.get('connection', self.playbook.transport) self.gather_facts = ds.get('gather_facts', None) self.remote_port = self.remote_port - self.any_errors_fatal = ds.get('any_errors_fatal', False) + self.any_errors_fatal = utils.boolean(ds.get('any_errors_fatal', 'false')) self.accelerate = utils.boolean(ds.get('accelerate', 'false')) self.accelerate_port = ds.get('accelerate_port', None) self.max_fail_pct = int(ds.get('max_fail_percentage', 100))