From bbdcba53da302d10effc57a8232188028060cd44 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 16 Mar 2015 19:37:03 -0400 Subject: [PATCH] fixed bug on using su on play level not setting become method correctly --- lib/ansible/modules/core | 2 +- lib/ansible/playbook/play.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/core b/lib/ansible/modules/core index 34c4e0d4959..31cc5f543f4 160000 --- a/lib/ansible/modules/core +++ b/lib/ansible/modules/core @@ -1 +1 @@ -Subproject commit 34c4e0d4959eeaf5dc4d2b69d2bd435267e8ff91 +Subproject commit 31cc5f543f4166eddb334340fd559765dc6c3940 diff --git a/lib/ansible/playbook/play.py b/lib/ansible/playbook/play.py index ef097d04813..edec30df758 100644 --- a/lib/ansible/playbook/play.py +++ b/lib/ansible/playbook/play.py @@ -172,6 +172,7 @@ class Play(object): elif 'su' in ds: self.become=True self.become=ds['su'] + self.become_method='su' if 'su_user' in ds: self.become_user=ds['su_user']