diff --git a/ansible/archival-snapshots/playbook.yml b/ansible/archival-snapshots/playbook.yml index c7b2af5d5..ec179322a 100644 --- a/ansible/archival-snapshots/playbook.yml +++ b/ansible/archival-snapshots/playbook.yml @@ -59,7 +59,7 @@ - name: Execute the init.sh script ansible.builtin.shell: - cmd: "sh init.sh" + cmd: "nohup ./init.sh > init.log 2>&1 &" chdir: "{{ remote_resources_path }}" environment: ARCHIVAL_SLACK_TOKEN: "{{ lookup('env', 'ARCHIVAL_SLACK_TOKEN') }}"