infrastructure/ansible/roles/qbittorrent/tasks/nginx.yml

19 lines
294 B
YAML
Raw Normal View History

- name: Install nginx
package:
name: nginx
become: true
- name: Enable nginx
service:
name: nginx
enabled: true
become: true
- name: Nginx config
template:
src: files/nginx.conf
dest: /etc/nginx/nginx.conf
mode: "0600"
become: true
notify: restart nginx