No description
- Jinja 100%
| defaults | ||
| meta | ||
| tasks | ||
| templates | ||
| .gitignore | ||
| README.md | ||
ansible-roles-github-releases-notifier
This role is deploys a podman container for github releases notifier
- https://github.com/vulcanize/github-releases-notifier
- https://github.com/justwatchcom/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