ansible/roles/install_nginx/tasks/main.yml
2022-07-22 11:20:26 +02:00

17 lines
341 B
YAML

---
- name: Install NGINX
apt:
update_cache: true
name: nginx
state: latest
- name: Add wasm to mime type
lineinfile:
path: /etc/nginx/mime.types
regexp: '\s*application/wasm\s+wasm;$'
line: ' application/wasm wasm;'
owner: root
group: root
mode: '0644'
insertbefore: '}'