1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00

Ansible l3d space

This commit is contained in:
L3D 2023-03-09 22:12:23 +01:00
parent 2d29d26b6a
commit dbb83c74b8
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 25 additions and 10 deletions

View file

@ -57,6 +57,13 @@ local_users:
- l3d@derpy.l3d.yt - l3d@derpy.l3d.yt
- l3d@backup-rsa.l3d.yt - l3d@backup-rsa.l3d.yt
- l3d@bsns.l3d - l3d@bsns.l3d
roles:
- l3d@pinkie.l3d.yt
- l3d@mobile.l3d.yt
- l3d@backup.l3d.yt
- l3d@derpy.l3d.yt
- l3d@backup-rsa.l3d.yt
- l3d@bsns.l3d
sshd__allowed_users: sshd__allowed_users:
- "root" - "root"
@ -71,6 +78,7 @@ sshd__allowed_users:
- 'winkekatze' - 'winkekatze'
- 'm2' - 'm2'
- 'klima' - 'klima'
- 'roles'
sshd__allowed_groups: sshd__allowed_groups:
- "root" - "root"
@ -85,6 +93,7 @@ sshd__allowed_groups:
- 'winkekatze' - 'winkekatze'
- 'm2' - 'm2'
- 'klima' - 'klima'
- 'roles'
local_accounts: local_accounts:
- 'l3d' - 'l3d'
@ -96,6 +105,7 @@ local_accounts:
- 'winkekatze' - 'winkekatze'
- 'm2' - 'm2'
- 'klima' - 'klima'
- 'roles'
acme_domain_unwant_list: [] acme_domain_unwant_list: []
# - name: 'example.com' # - name: 'example.com'
@ -125,6 +135,8 @@ nginx_sites:
- name: 'l3d.space' - name: 'l3d.space'
- name: 'www.l3d.space' - name: 'www.l3d.space'
- name: 'ansible.l3d.space' - name: 'ansible.l3d.space'
webroot:
user: 'roles'
- name: 'www.ansible.l3d.space' - name: 'www.ansible.l3d.space'
- name: 'l3d.yt' - name: 'l3d.yt'
- name: 'www.l3d.yt' - name: 'www.l3d.yt'

View file

@ -8,7 +8,10 @@ server {
include snippets/tls_certificate_{{ site.name }}.snippet.conf; include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf; include snippets/logging_{{ site.name }}.snippet.conf;
root /srv/www/ansible.l3d.space;
location / { location / {
return 308 https://github.com/roles-ansible/; charset utf-8;
try_files $uri $uri/ =404;
} }
} }

View file

@ -9,6 +9,6 @@ server {
include snippets/logging_{{ site.name }}.snippet.conf; include snippets/logging_{{ site.name }}.snippet.conf;
location / { location / {
return 308 https://github.com/roles-ansible/; return 308 https://ansible.l3d.space$request_uri;
} }
} }