feat: Add database initialization to items playbook
This commit is contained in:
parent
a124febf5c
commit
920f69d4c0
@ -40,4 +40,11 @@
|
||||
owner: "{{ lookup('env', 'DEPLOYMENT_USER') }}"
|
||||
group: www-data
|
||||
mode: 0774
|
||||
recurse: yes
|
||||
recurse: yes
|
||||
|
||||
- name: Initialize database
|
||||
uri:
|
||||
url: "https://{{ lookup('env', 'SPT_HOSTNAME') }}/api/refresh"
|
||||
method: GET
|
||||
status_code: [200, 204]
|
||||
timeout: 60
|
Loading…
x
Reference in New Issue
Block a user