From 7fe0c173c079a6682c7d853098cd02006acbe906 Mon Sep 17 00:00:00 2001 From: staffadmin Date: Sat, 23 Sep 2023 15:28:10 +0200 Subject: [PATCH] Actualiser playbook.yml --- playbook.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbook.yml b/playbook.yml index fc1f023..85b5004 100644 --- a/playbook.yml +++ b/playbook.yml @@ -1,7 +1,7 @@ --- - hosts: all become_user: stephane - become: true + become: false gather_facts: no vars: test_var: test @@ -22,6 +22,7 @@ - name: Create a directory if it does not exist + become: true ansible.builtin.file: path: /root/test state: directory