add: restart handler for atlantis hub config change

This commit is contained in:
2023-12-29 15:10:57 +00:00
parent 9baacd5597
commit 887bafecbb
2 changed files with 5 additions and 0 deletions

View File

@@ -2,3 +2,7 @@
uri:
url: "http://localhost:5006/reload-configuration"
status_code: [ 200, 204 ]
- name: restart hub
shell:
cmd: docker restart atlantis-hub_atlantis-hub_1

View File

@@ -55,6 +55,7 @@
copy:
src: "atlantis-hub-content/config.yaml"
dest: "/data/atlantis-hub/config.yaml"
notify: restart hub
- name: Create AtlantisHubDirectories
file: