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: I7eb8275699d418848b0991c5ba232ae0b9ffb42e
This commit is contained in:
Jesse Pretorius 2017-05-02 10:49:57 +01:00
parent 573ea17a10
commit 8ecf958568
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -16,5 +16,7 @@
- name: Playbook for role testing
hosts: localhost
connection: local
user: root
become: true
roles:
- role: "ceph_client"