From 706c688c71aa4db9d4c2b4b07f0fe591eef51745 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Mon, 14 Aug 2023 00:24:20 +0200 Subject: [PATCH] add ping --- debian12-ping/playbook.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 debian12-ping/playbook.yml diff --git a/debian12-ping/playbook.yml b/debian12-ping/playbook.yml new file mode 100644 index 0000000..f672365 --- /dev/null +++ b/debian12-ping/playbook.yml @@ -0,0 +1,8 @@ +--- +- name: Ping Monitoring + hosts: all + remote_user: root + tasks: + - name: Check that you can connect (GET) to a page and it returns a status 200 + ansible.builtin.uri: + url: "https://monitor.keks.cloud/api/push/vqwmZItFxm?status=up&msg=OK&ping=" \ No newline at end of file