{"id":16242872,"url":"https://github.com/jpmens/ansible-ntfy","last_synced_at":"2025-03-19T17:31:54.923Z","repository":{"id":136295398,"uuid":"559171295","full_name":"jpmens/ansible-ntfy","owner":"jpmens","description":"Ansible action plugin to post JSON messages to nfty","archived":false,"fork":false,"pushed_at":"2024-05-25T06:36:47.000Z","size":63,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"trunk","last_synced_at":"2025-03-08T19:38:15.854Z","etag":null,"topics":["ansible","module","notification","ntfy","plugin"],"latest_commit_sha":null,"homepage":"https://jpmens.net/2022/10/30/a-nifty-push-notification-system-ntfy/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpmens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-29T09:26:45.000Z","updated_at":"2025-01-25T08:48:41.000Z","dependencies_parsed_at":"2024-10-27T21:25:20.090Z","dependency_job_id":"eab8791b-5f5c-4505-b0a6-a2a4f310dde7","html_url":"https://github.com/jpmens/ansible-ntfy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fansible-ntfy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fansible-ntfy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fansible-ntfy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fansible-ntfy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpmens","download_url":"https://codeload.github.com/jpmens/ansible-ntfy/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244008880,"owners_count":20382926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","module","notification","ntfy","plugin"],"created_at":"2024-10-10T14:13:07.421Z","updated_at":"2025-03-19T17:31:54.916Z","avatar_url":"https://github.com/jpmens.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### nfty Ansible action plugin\n\n`nfty` is an Ansible action plugin to post JSON messages to [nfty] and similar HTTP endpoints. The [nfty server][1] is open source.\n\n![nfty Web interface in action](assets/rabbit-9698.png)\n\nConsider the following playbook which created the two notifications above:\n\n```yaml\n- hosts: alice\n  vars:\n     topic: \"admin-alerts\"\n  tasks:\n    - name: \"Notify ntfy that we're done (topic obtained from play var)\"\n      ntfy:\n           msg: \"deployment on {{ inventory_hostname }} is complete. 🐄 \"\n\n    - name: \"different topic\"\n      ntfy:\n            msg: \"that's a wrap\"\n            topic: \"admin-alerts\"\n            attrs:\n               tags: [ rotating_light, heavy_check_mark ]\n               priority: 4\n               actions:\n                  - action: view\n                    label: \"Open Mastodon\"\n                    url: \"https://mastodon.social/@jpmens\"\n```\n\n  [nfty]: https://ntfy.sh\n  [1]: https://github.com/binwiederhier/ntfy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpmens%2Fansible-ntfy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpmens%2Fansible-ntfy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpmens%2Fansible-ntfy/lists"}