From b4c2e7343a2e664b1fe7cddd9710ad45a9dd9738 Mon Sep 17 00:00:00 2001 From: Anne Haley Date: Thu, 14 Mar 2024 13:17:32 +0000 Subject: [PATCH] fix(ansible): make startup script executable --- ansible/playbook.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/playbook.yml b/ansible/playbook.yml index fff4ead6..14f03a3a 100644 --- a/ansible/playbook.yml +++ b/ansible/playbook.yml @@ -72,6 +72,7 @@ ansible.builtin.shell: | echo "sudo -i -u ubuntu /home/ubuntu/celery_project/dev/prod.celery.start.sh" > /var/lib/cloud/scripts/per-boot/celery.start.sh chmod 777 /var/lib/cloud/scripts/per-boot/celery.start.sh + chmod 777 /home/ubuntu/celery_project/dev/prod.celery.start.sh become: true become_user: root - name: Restart celery service to pick up any changes