No description
Find a file
2024-08-21 19:24:27 +00:00
defaults update to new common format 2024-08-21 19:24:27 +00:00
meta initial role for github releases notifier 2024-03-11 15:39:16 +00:00
tasks update to new common format 2024-08-21 19:24:27 +00:00
templates initial role for github releases notifier 2024-03-11 15:39:16 +00:00
.gitignore initial role for github releases notifier 2024-03-11 15:39:16 +00:00
README.md initial role for github releases notifier 2024-03-11 15:39:16 +00:00

ansible-roles-github-releases-notifier

This role is deploys a podman container for github releases notifier

Task Configuration

- name: Setup ghrn
  hosts: somehost
  become: true
  roles:
    - role: ghrn
      ghrn_container: localhost/github-releases-notifier:latest
      ghrn_github_token: nxz_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      ghrn_slack_hook: https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX
      ghrn_user: metrics
      ghrn_container_tags: 
        - '-r=ethereum/go-ethereum'
        - '-r=openrelayxyz/plugeth'
        - '-r=filecoin-project/lotus'

Deployment and Removal

Sometimes you need to manually stop the running containers to get a clean run when re-deploying Services must be stopped as the respecitve user or another means to aquire the correct user scope for systemd

systemctl --user stop container-ghrn.service

Deploy

ansible-playbook -i hosts site.yml --tags=ghrn --limit=somehost

Remove

ansible-playbook -i hosts site.yml --tags=ghrn --extra-vars "container_state=absent firewall_action=remove" --limit=somehost