Adding Gotify notifications for deployment; key file for Ansible.
This commit is contained in:
@@ -234,6 +234,13 @@ jobs:
|
|||||||
ref: main
|
ref: main
|
||||||
- name: Install Vault
|
- name: Install Vault
|
||||||
uses: cpanato/vault-installer@main
|
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
|
- name: Docker Config Deployment
|
||||||
id: docker-config-deploy
|
id: docker-config-deploy
|
||||||
uses: arillso/action.playbook@0.0.8
|
uses: arillso/action.playbook@0.0.8
|
||||||
@@ -261,5 +268,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
gotify_api_base: '${{ secrets.gotify_api_base }}'
|
gotify_api_base: '${{ secrets.gotify_api_base }}'
|
||||||
gotify_app_token: '${{ secrets.gotify_app_token }}'
|
gotify_app_token: '${{ secrets.gotify_app_token }}'
|
||||||
notification_title: 'Docker Deployment @ Rinoa'
|
notification_title: 'Docker ComposeDeployment @ Rinoa'
|
||||||
notification_message: 'Deployment completed successfully.'
|
notification_message: 'Deployment completed successfully.'
|
||||||
@@ -12,6 +12,8 @@ remote_user = charish
|
|||||||
# Define the default become method
|
# Define the default become method
|
||||||
become_method = sudo
|
become_method = sudo
|
||||||
|
|
||||||
|
host_key_checking = false
|
||||||
|
|
||||||
[persistent_connection]
|
[persistent_connection]
|
||||||
# Controls how long the persistent connection will remain idle before it is destroyed
|
# Controls how long the persistent connection will remain idle before it is destroyed
|
||||||
connect_timeout=30
|
connect_timeout=30
|
||||||
|
|||||||
Reference in New Issue
Block a user