Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Newer os compatiblity with os dependent vars #245

Merged
merged 1 commit into from
Dec 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- name: include OS dependent vars
include_vars: "{{ item }}"
with_first_found:
- "../vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}"
- "../vars/{{ ansible_os_family }}.yml"
- "../vars/empty.yml"
when: nginx_load_default_vars
Expand Down
8 changes: 8 additions & 0 deletions vars/Debian-12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
nginx_user: www-data

nginx_python_selinux_pkgs:
- python3-selinux
- python3-semanage

nginx_modules_location: /usr/lib/nginx/modules