homelab/roles/proxy/tasks/main.yml
2022-05-19 01:29:38 -04:00

13 lines
231 B
YAML

- name: Install nginx
apt:
name: nginx
state: present
update_cache: true
- name: Install nginx configuration
template:
src: nginx.conf.j2
dest: /etc/nginx/nginx.conf
mode: '0644'
notify: reload_nginx