ansible-role-ntfy_service/tasks/install.yml

19 lines
493 B
YAML
Raw Normal View History

2022-10-11 09:19:04 +02:00
---
- name: Ensure repository key is present
apt_key:
id: CF871F1E8399DAEF470832661D5B8EDFB2476E53
url: https://archive.heckel.io/apt/pubkey.txt
keyring: /etc/apt/trusted.gpg.d/heckel.gpg
- name: Install software required
apt:
name: apt-transport-https
- name: Ensure repository is present
apt_repository:
repo: deb [arch=amd64] https://archive.heckel.io/apt debian main
filename: heckel
state: present
- name: Ensure ntfy is installed
apt:
name: ntfy