diff --git a/playbook.yml b/playbook.yml index 0321c0e..5dceae8 100644 --- a/playbook.yml +++ b/playbook.yml @@ -1,7 +1,7 @@ --- - hosts: all become_user: stephane - become: false + become: true gather_facts: no vars: test_var: test @@ -22,7 +22,6 @@ - name: Create a directory if it does not exist - become: true ansible.builtin.file: path: /root/test state: directory