Skip to content

Commit

Permalink
make sure backup error file exists
Browse files Browse the repository at this point in the history
  • Loading branch information
alsmk committed Dec 20, 2024
1 parent 54b7410 commit a7bb2f4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions infrastructure/server-setup/tasks/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@
state: touch
mode: 'u+rwX,g+rwX,o-rwx'

- name: Create backup logfile for error
ansible.builtin.file:
path: /var/log/opencrvs-backup.error.log
owner: '{{ ansible_user }}'
group: 'application'
state: touch
mode: 'u+rwX,g+rwX,o-rwx'

- name: Create restore logfile
ansible.builtin.file:
path: /var/log/opencrvs-restore.log
Expand Down

0 comments on commit a7bb2f4

Please sign in to comment.