Use regular version of nginx on Arch
`nginx-mainline` requires modules be recompiled each time, and isn't handled automatically. It's still a very new and maintained release.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
- name: Install nginx
|
||||
package:
|
||||
name: "{{ 'nginx-mainline' if ansible_os_family == 'Archlinux' else 'nginx' }}"
|
||||
name: nginx
|
||||
become: true
|
||||
|
||||
- name: Install nginx modules
|
||||
@ -17,8 +17,8 @@
|
||||
kewlfft.aur.aur:
|
||||
name: "{{ item }}"
|
||||
loop:
|
||||
- nginx-mainline-mod-headers-more
|
||||
- nginx-mainline-mod-brotli
|
||||
- nginx-mod-headers-more
|
||||
- nginx-mod-brotli
|
||||
when: ansible_os_family == 'Archlinux'
|
||||
become: true
|
||||
|
||||
|
Reference in New Issue
Block a user