diff --git a/tests/inventory b/tests/inventory index 6c0833a..68b2dac 100644 --- a/tests/inventory +++ b/tests/inventory @@ -1,2 +1,2 @@ [all] -localhost ansible_connection=local ansible_become=True +localhost diff --git a/tests/test.yml b/tests/test.yml index 6cf485f..8a90a01 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -16,6 +16,7 @@ - name: Playbook for role testing hosts: localhost connection: local + become: true roles: - role: "rsyslog_server" post_tasks: