Skip to content

Commit

Permalink
fix(ansible): make startup script executable
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Mar 14, 2024
1 parent 614b82e commit b4c2e73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4c2e73

Please sign in to comment.