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:
parent
2d29d26b6a
commit
dbb83c74b8
3 changed files with 25 additions and 10 deletions
|
@ -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'
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
server_name ansible.l3d.space;
|
server_name ansible.l3d.space;
|
||||||
|
|
||||||
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
|
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
|
||||||
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;
|
||||||
|
|
||||||
location / {
|
root /srv/www/ansible.l3d.space;
|
||||||
return 308 https://github.com/roles-ansible/;
|
|
||||||
}
|
location / {
|
||||||
|
charset utf-8;
|
||||||
|
try_files $uri $uri/ =404;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue