Fix role gate tests for Ansible 2.3

'ansible_become' defined as a host_var or in the inventory for a host
has a higher precedence than 'become' defined within a playbook.

In change Id5b76a87809f03951c954fc3d752419a673403f7, 'become' was
defined explicitly for each play running against localhost so
'ansible_become' should be removed from its host_vars.

Change-Id: Ic74099b95342a938c77c08305230aeb711741b76
Cc: Jimmy McCrory <jimmy.mccrory@gmail.com>
This commit is contained in:
Markos Chandras 2017-04-25 16:39:06 +01:00
parent c880840808
commit 08f937a5af

View File

@ -1,8 +1,8 @@
[all]
localhost
container1
container2
container3
container1 ansible_host=10.100.100.101 ansible_become=True ansible_user=root
container2 ansible_host=10.100.100.102 ansible_become=True ansible_user=root
container3 ansible_host=10.100.100.103 ansible_become=True ansible_user=root
[repo_all]
container1