Fix role gate tests for Ansible 2.3

Add 'become' and root 'user' options to the playbook instead of using
'ansible_become' through an inventory variable.

Change-Id: Id51a7882540a68e53ef00a26e910214a6df6ec9f
This commit is contained in:
Jesse Pretorius 2017-05-16 12:14:43 +01:00
parent 0407fd52f0
commit c7a094c557
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1,2 @@
localhost ansible_connection=local ansible_become=True
[all]
localhost

View File

@ -16,5 +16,6 @@
- name: Playbook for role testing
hosts: localhost
connection: local
become: true
tasks:
- debug: msg="Testing is still to be implemented"