feat(all): updates some configs #2
@@ -16,6 +16,12 @@ jobs:
|
|||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Trigger the webhook to start pulling new Ansible configs
|
- name: Trigger the webhook to start pulling the latest version from the repo
|
||||||
# LAN IP is used because those hosts are in the same network
|
# LAN IP is used because those hosts are in the same network
|
||||||
|
run: curl "http://192.168.0.38:9000/hooks/pull-latest"
|
||||||
|
|
||||||
|
- name: Trigger the webhook to update python and ansible modules
|
||||||
|
run: curl "http://192.168.0.38:9000/hooks/run-update-script"
|
||||||
|
|
||||||
|
- name: Trigger the webhook to run the playbook
|
||||||
run: curl "http://192.168.0.38:9000/hooks/run-maintain-playbook"
|
run: curl "http://192.168.0.38:9000/hooks/run-maintain-playbook"
|
||||||
|
|||||||
Reference in New Issue
Block a user