From 07069269aff3bf2f928c1521fcc71cd715b25e7b Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sat, 18 Jan 2025 12:13:17 -0500 Subject: [PATCH] Adding Gotify notifications for deployment; key file for Ansible. --- .gitea/workflows/pr-cloudflare-docker-deploy.yml | 9 ++++++++- ansible/ansible.cfg | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/pr-cloudflare-docker-deploy.yml b/.gitea/workflows/pr-cloudflare-docker-deploy.yml index 6821cd74..8dae453d 100644 --- a/.gitea/workflows/pr-cloudflare-docker-deploy.yml +++ b/.gitea/workflows/pr-cloudflare-docker-deploy.yml @@ -234,6 +234,13 @@ jobs: ref: main - name: Install Vault uses: cpanato/vault-installer@main + - name: Gotify Notification + uses: eikendev/gotify-action@master + with: + gotify_api_base: '${{ secrets.gotify_api_base }}' + gotify_app_token: '${{ secrets.gotify_app_token }}' + notification_title: 'Ansible Config Deployment @ Rinoa' + notification_message: 'Deployment completed successfully.' - name: Docker Config Deployment id: docker-config-deploy uses: arillso/action.playbook@0.0.8 @@ -261,5 +268,5 @@ jobs: with: gotify_api_base: '${{ secrets.gotify_api_base }}' gotify_app_token: '${{ secrets.gotify_app_token }}' - notification_title: 'Docker Deployment @ Rinoa' + notification_title: 'Docker ComposeDeployment @ Rinoa' notification_message: 'Deployment completed successfully.' \ No newline at end of file diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index fd10e754..b9c645bf 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -12,6 +12,8 @@ remote_user = charish # Define the default become method become_method = sudo +host_key_checking = false + [persistent_connection] # Controls how long the persistent connection will remain idle before it is destroyed connect_timeout=30