1
0
Fork 0
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:
L3D 2020-12-23 20:02:06 +01:00
parent cbd376396b
commit ece03524c3
Signed by: l3d
GPG key ID: CD08445BFF4313D1
5 changed files with 33 additions and 0 deletions

View 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

View 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

View file

@ -0,0 +1,5 @@
---
- name: install acmetool from fixed url
become: true
apt:
deb: "{{ acmetool_fix__deb }}"

View file

@ -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]}

View 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;
}
}