Add brotli

This commit is contained in:
Jake Howard
2023-12-17 18:12:33 +00:00
parent 46eda36515
commit 2336e4dd5b
2 changed files with 18 additions and 0 deletions

View File

@ -22,6 +22,18 @@
when: ansible_os_family == 'Archlinux'
become: true
- name: Install nginx-mod-brotli
package:
name: libnginx-mod-http-brotli-filter
when: ansible_os_family != 'Archlinux'
become: true
- name: Install nginx-mod-brotli on Arch
kewlfft.aur.aur:
name: nginx-mainline-mod-brotli
when: ansible_os_family == 'Archlinux'
become: true
- name: Create config directories
file:
path: /etc/nginx/{{ item }}