fixed bug on using su on play level not setting become method correctly

pull/10241/head
Brian Coca 10 years ago
parent a47c132695
commit bbdcba53da

@ -1 +1 @@
Subproject commit 34c4e0d4959eeaf5dc4d2b69d2bd435267e8ff91 Subproject commit 31cc5f543f4166eddb334340fd559765dc6c3940

@ -172,6 +172,7 @@ class Play(object):
elif 'su' in ds: elif 'su' in ds:
self.become=True self.become=True
self.become=ds['su'] self.become=ds['su']
self.become_method='su'
if 'su_user' in ds: if 'su_user' in ds:
self.become_user=ds['su_user'] self.become_user=ds['su_user']

Loading…
Cancel
Save