Skip to content

Commit

Permalink
Merge pull request #115 from DO1JLR/u
Browse files Browse the repository at this point in the history
U
  • Loading branch information
DO1JLR authored Apr 27, 2024
2 parents 23f9054 + 6a5c41e commit 2b23584
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,6 @@
[submodule "roles/l3d.rustdesk"]
path = roles/l3d.rustdesk
url = https://github.com/roles-ansible/ansible_role_rustdesk.git
[submodule "collections/ansible_collections/l3d/linux"]
path = collections/ansible_collections/l3d/linux
url = https://github.com/roles-ansible/ansible_collection_linux.git
1 change: 1 addition & 0 deletions collections/ansible_collections/l3d/linux
Submodule linux added at f264c4
4 changes: 2 additions & 2 deletions group_vars/all/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ submodules_versioncheck: true
check_ansible_version: '2.15.2'

# l3d.packages
l3d_pkgs__install_advanced: true
l3d_pkgs__install_cli: true
packages__install_advanced: true
packages__install_cli: true

# do1jlr.ntp
ntp_set_time_zone: true
Expand Down
4 changes: 4 additions & 0 deletions host_vars/web01.l3d.space/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ nginx_sites:
webroot:
user: 'winkekatze'
- name: 'www.aalen-geekend-23.winkekatze.tv'
- name: 'fsck-2024.winkekatze.tv'
webroot:
user: 'winkekatze'
- name: 'www.fsck-2024.winkekatze.tv'
- name: 'winkekatze.tv'
webroot:
user: 'winkekatze'
Expand Down
2 changes: 1 addition & 1 deletion roles/robertdebock.dovecot
2 changes: 1 addition & 1 deletion roles/robertdebock.fail2ban
2 changes: 1 addition & 1 deletion site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- {role: l3d.users.admin, tags: [users, admin]}
- {role: l3d.users.sshd, tags: [users, sshd]}
- {role: l3d.users.dotfiles, tags: [users, dotfiles]}
- {role: l3d.packages, tags: [packages, general]}
- {role: l3d.linux.packages, tags: [packages, general]}
- {role: do1jlr.ranger, tags: [packages, ranger]}
- {role: gantsign.bat, tags: [packages, bat], when: [ansible_os_family == 'Debian' and "ansible_architecture" == "x86_64"]}
- {role: unattended_upgrades, tags: [default, unattended, unattended_upgrades, security], become: true, when: ansible_distribution == 'Debian'}
Expand Down
17 changes: 17 additions & 0 deletions templates/files/nginx/sites/fsck-2024.winkekatze.tv_tls.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

server_name fsck-2024.winkekatze.tv;

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/fsck-2024.winkekatze.tv;

location / {
charset utf-8;
try_files $uri $uri/ =404;
}
}
14 changes: 14 additions & 0 deletions templates/files/nginx/sites/www.fsck-2024.winkekatze.tv_tls.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

server_name www.fsck-2024.winkekatze.tv;

include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;

location / {
return 308 https://fsck-2024.winkekatze.tv$request_uri;
}
}

0 comments on commit 2b23584

Please sign in to comment.