This commit is contained in:
2026-09-18 20:07:04 +02:00
parent 958e22734f
commit 442ddf8816
88 changed files with 2501 additions and 0 deletions
@@ -0,0 +1,20 @@
---
- name: Ensure dirmngr is installed (gnupg dependency).
apt:
name: dirmngr
state: present
- name: Add PPA for Nginx (if configured).
apt_repository:
repo: 'ppa:nginx/{{ nginx_ppa_version }}'
state: present
update_cache: true
register: nginx_ppa_added
when: nginx_ppa_use | bool
- name: Ensure nginx will reinstall if the PPA was just added.
apt:
name: "{{ nginx_package_name }}"
state: absent
when: nginx_ppa_added is changed
tags: ['skip_ansible_lint']