mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-07 14:51:36 +01:00
add: restart handler for atlantis hub config change
This commit is contained in:
@@ -2,3 +2,7 @@
|
|||||||
uri:
|
uri:
|
||||||
url: "http://localhost:5006/reload-configuration"
|
url: "http://localhost:5006/reload-configuration"
|
||||||
status_code: [ 200, 204 ]
|
status_code: [ 200, 204 ]
|
||||||
|
|
||||||
|
- name: restart hub
|
||||||
|
shell:
|
||||||
|
cmd: docker restart atlantis-hub_atlantis-hub_1
|
||||||
|
|||||||
@@ -55,6 +55,7 @@
|
|||||||
copy:
|
copy:
|
||||||
src: "atlantis-hub-content/config.yaml"
|
src: "atlantis-hub-content/config.yaml"
|
||||||
dest: "/data/atlantis-hub/config.yaml"
|
dest: "/data/atlantis-hub/config.yaml"
|
||||||
|
notify: restart hub
|
||||||
|
|
||||||
- name: Create AtlantisHubDirectories
|
- name: Create AtlantisHubDirectories
|
||||||
file:
|
file:
|
||||||
|
|||||||
Reference in New Issue
Block a user