From 6fb39640c02437a0ed56fc000af15f1c1803654d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Vi=C3=B1ar=20Ulriksen?= Date: Wed, 23 Aug 2023 18:55:05 -0300 Subject: [PATCH] avoid 'become: true' when creatind a local directory --- tasks/download.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/download.yml b/tasks/download.yml index 2c539e9..fab90a1 100644 --- a/tasks/download.yml +++ b/tasks/download.yml @@ -15,7 +15,8 @@ owner: "{{ easyrsa_download_user if not _result.stat.exists else omit }}" mode: "{{ '0o755' if not _result.stat.exists else omit }}" delegate_to: localhost - # Not using `become` or `owner` (unless a new directory) for the same reason + become: false + # Not using `become: true` or `owner` (unless a new directory) for the same reason # as above. For example, if `/tmp` is the `path`, I don't want to change the # owner to the download user.