mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
try to fix acmetool and fix template path
This commit is contained in:
parent
cbd376396b
commit
ece03524c3
5 changed files with 33 additions and 0 deletions
3
roles/acmetool_fix/README.md
Normal file
3
roles/acmetool_fix/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# acmetoo-fix
|
||||||
|
|
||||||
|
Install the latest acmetool from http://ftp.de.debian.org/debian/pool/main/a/acmetool/acmetool_0.2.1-4_amd64.deb
|
2
roles/acmetool_fix/defaults/main.yml
Normal file
2
roles/acmetool_fix/defaults/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
---
|
||||||
|
acmetool_fix__deb: http://ftp.de.debian.org/debian/pool/main/a/acmetool/acmetool_0.2.1-4_amd64.deb
|
5
roles/acmetool_fix/tasks/main.yml
Normal file
5
roles/acmetool_fix/tasks/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
- name: install acmetool from fixed url
|
||||||
|
become: true
|
||||||
|
apt:
|
||||||
|
deb: "{{ acmetool_fix__deb }}"
|
1
site.yml
1
site.yml
|
@ -19,5 +19,6 @@
|
||||||
hosts: web
|
hosts: web
|
||||||
roles:
|
roles:
|
||||||
- { role: webhost2, tags: [web,webhost]}
|
- { role: webhost2, tags: [web,webhost]}
|
||||||
|
- { role: acmetool_fix, tags: [web,acmetool]}
|
||||||
- { role: acmetool2, tags: [web,acmetool]}
|
- { role: acmetool2, tags: [web,acmetool]}
|
||||||
- { role: nginx2, tags: [web,nginx]}
|
- { role: nginx2, tags: [web,nginx]}
|
||||||
|
|
22
templates/files/nginx/sites/c3woc.org_tls.conf
Normal file
22
templates/files/nginx/sites/c3woc.org_tls.conf
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
|
server_name c3woc.org;
|
||||||
|
|
||||||
|
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
|
||||||
|
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
|
||||||
|
include snippets/logging_{{ site.name }}.snippet.conf;
|
||||||
|
|
||||||
|
root /srv/www/files.chvoc.ch;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ =404;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /files/foobarach1xa/ {
|
||||||
|
autoindex on;
|
||||||
|
autoindex_exact_size off;
|
||||||
|
autoindex_localtime on;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue