Using ppa:ondrej/nginx? Bad news, it's dead. In Debian and Ubuntu you can't easily drop in the official nginx repo, since they don't adhere to sites-{available,enabled}/ folder policy.
https://codeberg.org/oerdnj/deb.sury.org/issues/67
The good news:
- name: Download myguard GPG key
tags: apt
ansible.builtin.get_url:
url: https://deb.myguard.nl/pool/deb.myguard.nl.gpg
dest: /usr/share/keyrings/myguard-archive-keyring.gpg
mode: '0644'
- name: Add myguard repository
tags: apt
ansible.builtin.deb822_repository:
name: myguard
types: [deb]
uris: https://deb.myguard.nl
suites: ["{{ ansible_distribution_release }}"]
components: [main]
signed_by: /usr/share/keyrings/myguard-archive-keyring.gpg






