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:
Jake Howard
2024-02-29 19:46:32 +00:00
parent 8a1e21c79d
commit 0dcc3f7c30
4 changed files with 7 additions and 10 deletions

View File

@ -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