From fbd8b41f5035d394b0451802700991dd4ca19494 Mon Sep 17 00:00:00 2001 From: Adam Leviton Date: Thu, 4 Jul 2024 12:03:14 -0400 Subject: [PATCH] prevent warnings running composer as root (#1527) --- roles/wordpress-install/tasks/composer-authentications.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/wordpress-install/tasks/composer-authentications.yml b/roles/wordpress-install/tasks/composer-authentications.yml index 07fd9a17af..217fe2a248 100644 --- a/roles/wordpress-install/tasks/composer-authentications.yml +++ b/roles/wordpress-install/tasks/composer-authentications.yml @@ -19,6 +19,7 @@ command: config arguments: --auth bitbucket-oauth.{{ item.hostname | quote }} {{ item.consumer_key | quote }} {{ item.consumer_secret | quote }} working_dir: "{{ working_dir }}" + become: no no_log: true changed_when: false when: @@ -34,6 +35,7 @@ command: config arguments: --auth {{ item.type | quote }}.{{ item.hostname | quote }} {{ item.token | quote }} working_dir: "{{ working_dir }}" + become: no no_log: true changed_when: false when: