16 lines
690 B
YAML
16 lines
690 B
YAML
dependencies:
|
|
- role: distribution_check
|
|
vars:
|
|
distribution_check__supported_distributions:
|
|
- name: Debian
|
|
versions:
|
|
- "10"
|
|
- "11"
|
|
- role: add_apt_repository
|
|
vars:
|
|
add_apt_repository__https_repo: false
|
|
add_apt_repository__keyring_url: https://nginx.org/keys/nginx_signing.key
|
|
add_apt_repository__keyring_path: /usr/share/keyrings/nginx-archive-keyring.gpg
|
|
add_apt_repository__repo: deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg]
|
|
http://nginx.org/packages/{{ ansible_facts.distribution | lower }} {{ ansible_facts.lsb.codename }} nginx
|
|
add_apt_repository__filename: nginx.list
|