diff --git a/lib/ansible/modules/core b/lib/ansible/modules/core index 34c4e0d495..31cc5f543f 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 ef097d0481..edec30df75 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']