From 5c72bbb582a30efbde61dcafeb9f2849048f720b Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Wed, 19 Apr 2017 15:51:34 -0700 Subject: [PATCH] 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: I50d04fc27d3ef2aa806a9d1e22c3149df8d87e67 --- tests/host_vars/localhost.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/host_vars/localhost.yml b/tests/host_vars/localhost.yml index c8c09b3e..787f6cbc 100644 --- a/tests/host_vars/localhost.yml +++ b/tests/host_vars/localhost.yml @@ -16,5 +16,4 @@ bridges: - name: "br-mgmt" ip_addr: "10.1.1.1" -ansible_become: True ansible_python_interpreter: "/usr/bin/python2"