mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
🚀 Manage Ubuntu
This commit is contained in:
committed by
Emilien M
parent
424160f9d4
commit
0fd16bdd1e
@@ -14,7 +14,7 @@
|
||||
- name: APT | Install nginx and dependencies
|
||||
ansible.builtin.apt:
|
||||
pkg: "{{ nginx_apt_package }}"
|
||||
default_release: "{{ ansible_distribution_release + '-backports' if nginx_backports else ansible_distribution_release }}"
|
||||
default_release: "{{ ansible_distribution_release + '-backports' if (nginx_backports and ansible_distribution == 'Debian') else ansible_distribution_release }}"
|
||||
|
||||
- name: APT | Install nginx modules
|
||||
ansible.builtin.apt:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: INCLUDE_TASKS | Install
|
||||
ansible.builtin.include_tasks: "{{ ansible_distribution }}.yml"
|
||||
ansible.builtin.include_tasks: "{{ ansible_os_family }}.yml"
|
||||
|
||||
- name: IMPORT_TASKS | acme
|
||||
ansible.builtin.import_tasks: "acme.yml"
|
||||
|
||||
Reference in New Issue
Block a user