Skip to content

Commit

Permalink
v28: Ensure become and become_user params are honored
Browse files Browse the repository at this point in the history
  • Loading branch information
Spredzy committed Apr 7, 2020
1 parent 32f991d commit a2cfaee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytest_ansible/module_dispatcher/v28.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ def _run(self, *module_args, **complex_args):
play_ds = dict(
name="pytest-ansible",
hosts=self.options['host_pattern'],
become=self.options['become'],
become_user=self.options['become_user'],
gather_facts='no',
tasks=[
dict(
Expand Down

0 comments on commit a2cfaee

Please sign in to comment.