Add healthcheck to ansible
This commit is contained in:
parent
68463c03f1
commit
1cb92e3825
13 changed files with 68 additions and 6 deletions
_ansible/roles/healthcheck/files
4
_ansible/roles/healthcheck/files/healthcheck@.service
Normal file
4
_ansible/roles/healthcheck/files/healthcheck@.service
Normal file
|
@ -0,0 +1,4 @@
|
|||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/docker compose run --rm %i
|
||||
WorkingDirectory=/opt/services/healthcheck/
|
Reference in a new issue