mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 08:38:35 +01:00
feat: media configuration with cert header
This commit is contained in:
17
roles/media/tasks/main.yaml
Normal file
17
roles/media/tasks/main.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
- 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
|
||||
Reference in New Issue
Block a user