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:
parent
573ea17a10
commit
8ecf958568
|
@ -1,2 +1,2 @@
|
||||||
[all]
|
[all]
|
||||||
localhost ansible_connection=local ansible_become=True
|
localhost
|
||||||
|
|
|
@ -16,5 +16,7 @@
|
||||||
- name: Playbook for role testing
|
- name: Playbook for role testing
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
|
user: root
|
||||||
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- role: "ceph_client"
|
- role: "ceph_client"
|
||||||
|
|
Loading…
Reference in New Issue