mirror of
https://github.com/geerlingguy/ansible-role-nginx.git
synced 2025-02-14 00:52:04 +01:00
Handle alma linux
This commit is contained in:
parent
500c28789b
commit
fe4dfd9ed7
@ -10,7 +10,7 @@
|
||||
|
||||
# Setup/install tasks.
|
||||
- include_tasks: setup-RedHat.yml
|
||||
when: ansible_os_family == 'RedHat' or ansible_os_family == 'Rocky'
|
||||
when: ansible_os_family == 'RedHat' or ansible_os_family == 'Rocky' or ansible_os_family == 'AlmaLinux'
|
||||
|
||||
- include_tasks: setup-Ubuntu.yml
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
|
9
vars/AlmaLinux.yml
Normal file
9
vars/AlmaLinux.yml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
root_group: root
|
||||
nginx_conf_path: /etc/nginx/conf.d
|
||||
nginx_conf_file_path: /etc/nginx/nginx.conf
|
||||
nginx_mime_file_path: /etc/nginx/mime.types
|
||||
nginx_pidfile: /var/run/nginx.pid
|
||||
nginx_vhost_path: /etc/nginx/conf.d
|
||||
nginx_default_vhost_path: /etc/nginx/conf.d/default.conf
|
||||
__nginx_user: "nginx"
|
Loading…
Reference in New Issue
Block a user