mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 09:01:38 +01:00
feat: add @reboot for harbor (as a fallback for restart: always)
This commit is contained in:
@@ -42,3 +42,9 @@
|
||||
line: CONFIG_OVERWRITE_JSON={{ lookup('file','harbor-oidc.json') | from_json | to_json }}
|
||||
regex: CONFIG_OVERWRITE_JSON=
|
||||
notify: restart harbor
|
||||
|
||||
- name: Add @reboot compose job # harbor deps are meh, restart: always is not safe
|
||||
cron:
|
||||
name: "Harbor Up"
|
||||
special_time: "reboot"
|
||||
job: "/usr/bin/docker-compose -f /opt/harbor/docker-compose.yml up"
|
||||
|
||||
Reference in New Issue
Block a user