mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 12:28:32 +01:00
18 lines
323 B
YAML
18 lines
323 B
YAML
- name: Install Nginx
|
|
apt:
|
|
pkg:
|
|
- nginx
|
|
state: present
|
|
|
|
- name: Deploy nginx-config (page)
|
|
copy:
|
|
src: nginx_media.conf
|
|
dest: /etc/nginx/sites-available/media.conf
|
|
notify: restart nginx
|
|
|
|
- name: Deploy nginx basic auth file
|
|
copy:
|
|
src: htpasswd
|
|
dest: /etc/nginx/
|
|
notify: restart nginx
|