From 31a010c275265ca93327682d7f437dbbafed80df Mon Sep 17 00:00:00 2001 From: Adam Leviton Date: Sat, 29 Jun 2024 14:24:57 -0400 Subject: [PATCH] prevent warnings running composer as root --- 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: