From 4672f7ab33ea406c99b0fbf2d576f7613e97e7be Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Mon, 8 Nov 2021 10:40:39 +0100 Subject: [PATCH] Fix run-stack task Change-Id: I8257f4f04e20bd8fd39787d9f07071f8b5738bd7 --- roles/devstack-tobiko-deploy/tasks/run-stack.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/devstack-tobiko-deploy/tasks/run-stack.yaml b/roles/devstack-tobiko-deploy/tasks/run-stack.yaml index 0f0bd4f..473bc7c 100644 --- a/roles/devstack-tobiko-deploy/tasks/run-stack.yaml +++ b/roles/devstack-tobiko-deploy/tasks/run-stack.yaml @@ -4,11 +4,10 @@ - name: run stack.sh become: true - become_user: stack shell: cmd: | - sudo chown -R stack.stack /opt/stack/ || exit 66 - sudo su -l stack -c " + chown -R stack.stack /opt/stack/ || exit 66 + su -l stack -c " cd '{{ devstack_dir }}' && ./stack.sh && touch '{{ stack_succeeded_file }}'