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: I5f47dbb71cae8c61f1f814c1e9dfcb2d28e14b3f
This commit is contained in:
parent
a1fbb19ddd
commit
bb05f9cfe7
@ -1,2 +1,2 @@
|
||||
[all]
|
||||
localhost ansible_connection=local ansible_become=True
|
||||
localhost
|
||||
|
@ -16,6 +16,7 @@
|
||||
- name: Playbook for role testing
|
||||
hosts: localhost
|
||||
connection: local
|
||||
become: true
|
||||
roles:
|
||||
- role: "rsyslog_server"
|
||||
post_tasks:
|
||||
|
Loading…
Reference in New Issue
Block a user