fmartingr
/
shelfzilla
Archived
1
0
Fork 0
This repository has been archived on 2021-06-29. You can view files and clone it, but cannot push or open issues or pull requests.
shelfzilla/provisioning/roles/shelfzilla/tasks/nginx.yml

29 lines
608 B
YAML

---
- name: Install Shelfzilla vhost for Nginx
template: src=shelfzilla.conf
dest="/etc/nginx/conf.d/shelfzilla.conf"
owner=root
group=root
mode=0755
sudo: yes
- name: Create nginx ssl folder
file: path='/etc/nginx/ssl'
owner=nginx
group=nginx
mode=0775
state=directory
sudo: yes
- name: Install Shelfzilla SSL
copy: src="{{ item }}"
dest="/etc/nginx/ssl/{{ item }}"
owner=nginx
group=nginx
mode=0644
sudo: yes
with_items:
- shelfzilla.pem
- shelfzilla.key