508 Commits (9fa36a210f2e11a07c6fddf9676f537300857871)

Author SHA1 Message Date
Felix Stupp 9d8d041241
nginx/application: Fixed typo of "unnecessary" 4 years ago
Felix Stupp 28d49be899
server/nextcloud: Added support for php-fpm status page 4 years ago
Felix Stupp 458babf82c
nginx/php: Added support for php-fpm status page 4 years ago
Felix Stupp 2a672cb597
nginx/default_server: Extracted status_page_acl var 4 years ago
Felix Stupp ce55e33fda
nginx/php-pool: Added support for enabling status page 4 years ago
Felix Stupp e91f9d1a81
nginx/default_server: Hide status page by answering 403 always 4 years ago
Felix Stupp 74a62e861f
Added role nginx/default_server
To prevent circular dependencies, role must be included manually on
required servers
4 years ago
Felix Stupp 7a33ceffb8
nginx/application: Removed configuring trusted certificate for OCSP
Can be derived by given certificate for host
4 years ago
Felix Stupp 48588ee0dd
server/spotme: Removed not required dependencies 4 years ago
Felix Stupp 647f112c2b
nginx/server: Extracted special pre directives into configurable vars 4 years ago
Felix Stupp 11814fe236
nginx/server: Added explicit dependency to nginx/application 4 years ago
Felix Stupp 61c7f72422
nginx/server: Removed ssl on directive
Should no longer be used, listen + ssl marker is working as expected
4 years ago
Felix Stupp fbca70f81f
dns/master: Create keys directory writeable for bind
To apply KASP later
4 years ago
Felix Stupp d73e250b36
dns/master: Changed owner and adapted permissions of zone directory 4 years ago
Felix Stupp 22fde40ac5
dns/application: Changed bind9 source to official source 4 years ago
Felix Stupp a51225ccc8
dns/application: Allowed bind using AppArmor to write temporary journal files 4 years ago
Felix Stupp 646e6d5c75
dns: Configured service name using global variable 4 years ago
Felix Stupp 77d1e84117
dns: Fixed variable structure of var domain_environment_directory 4 years ago
Felix Stupp be8418d546
misc/backup_files: Added variable backup_name as alternative of name by domain 4 years ago
Felix Stupp 12e47c19c9
all/vars: Added var global_log_directory
Added usage in role nginx/application
4 years ago
Felix Stupp 51404e3a3d
misc/system_user: Added output var system_user_info 4 years ago
Felix Stupp 08a37c6dab
nginx/application: Configure dhparams for SSL 4 years ago
Felix Stupp 586163c9d0
Added role misc/dhparams 4 years ago
Felix Stupp 6fbf62cddd
dns/application: Added zone.db.jnl files to allowed files for bind to write 4 years ago
Felix Stupp f2e669734b
common: Readd package acl
Required for ansible temporary files if becoming an unprivileged user, see
https://docs.ansible.com/ansible/latest/user_guide/become.html#risks-of-becoming-an-unprivileged-user

This reverts commit 3c7fb65ac9.
4 years ago
Felix Stupp c258a5d1bb
server/minecraft: Add SRV dns entry 4 years ago
Felix Stupp 55b27c041b
dns: Extracted role entries from server_entries 4 years ago
Felix Stupp 39771c907f
dns/server_entries: Renamed var all_entries to entries 4 years ago
Felix Stupp 9d23e12a16
dns/master: Now considered vars for nameserver and mail to be absolute
Meaning the var itself must not have a dot at the end of the name,
but an usage of the variable may need to append a dot.
4 years ago
Felix Stupp 40c6a3ab0f
dns/server_entries: Allow duplicate execution of role 4 years ago
Felix Stupp 1958c4df54
dns: Renamed role entries to server_entries
To distinguish between simple entries role (coming in the future) and
entries role bundled with server-related entries (A, AAAA, SSHFP)
4 years ago
Felix Stupp 08fafbf98f
dns/entries: Fixed SYNC comment to role dns/master 4 years ago
Felix Stupp 9121fd2c37
server/tt-rss: Moved repo clone method to standardized release tags 4 years ago
Felix Stupp debbcb1a1b
nginx: Moved dot-file-exclution from global snippet to root snippet
Only file based servers may require this directive,
other servers are not expected to leak hidden files other than on purpose
4 years ago
Felix Stupp cca87f6425
nginx/php: Changed global include to root include
root snippet is there for file based servers, including php
4 years ago
Felix Stupp f2c92e94e2
nginx: Moved index directive from root snippet to specific static role 4 years ago
Felix Stupp dd48448828
nginx/php: Removed debian-specific index file from config 4 years ago
Felix Stupp 58955871ad
nginx/application: Removed specfic exclusion of htaccess files
Because dot files are already blocked in general
4 years ago
Felix Stupp 9394b66f47
wireguard/application: Added sorting of peer files before combining 4 years ago
Felix Stupp e09fb25104
Added role misc/dnsmasq as dnssec resolver 4 years ago
Felix Stupp 2158b2717d
dns/master: Added support for dname to root zone 4 years ago
Felix Stupp 0b388a7e9a
git_auto_update: Added brackets for less ambiguity 4 years ago
Felix Stupp 9a8996d69e
git_auto_update: Increased check options for update script 4 years ago
Felix Stupp 2515ab82db
roles/nfs: Improved var usages
- Extracted global_nfs_directory from default root_directory
- Added usage of export_path
4 years ago
Felix Stupp 04c71a8611
common: ssh makefile: Sort part files before combining 4 years ago
Felix Stupp d09b7ea8c3
mysql: Configure mysql_user and mysql_password 4 years ago
Felix Stupp 164cdbbc79
common: Tagged ip blocklist for easier skipping 4 years ago
Felix Stupp 187f573d4f
common: Added pv to required common packages 4 years ago
Felix Stupp 424b85eec8
mysql/database: Added database_template function 4 years ago
Felix Stupp c6309b92ad
mysql/database: Documented database_user as required var 4 years ago
Felix Stupp a3eb7778a8
server/nextcloud: Add packages for SMB access 4 years ago
Felix Stupp 2a161ca509
acme/certificate: Ensure dns entry is given by depending on role dns/entries 4 years ago
Felix Stupp 5a41a9afc9
acme/certificate: Document var domain as required 4 years ago
Felix Stupp b3620fa3c8
dns/application: makefile combine: Sort files before combining
Ensures 0_main.db is before other files
4 years ago
Felix Stupp 979abba1aa
Added role dns/entries for configuring dns entries 4 years ago
Felix Stupp eff48f1773
Changed approach for generating sshfp RR to lookup on python script 4 years ago
Felix Stupp 748999d36d
dns: Moved var zones_environment_directory to global vars 4 years ago
Felix Stupp f8c01d46f6
dns/master: Fix permissions for dns env dir 4 years ago
Felix Stupp bf00dcb6dd
dns/application: Moved var configuration_directory to global vars 4 years ago
Felix Stupp eb632a8f2c
dns/master: Store mapping of domain to host in public_keys 4 years ago
Felix Stupp 592bb483cf
common: Used variable global_ssh_key_directory for public_keys path 4 years ago
Felix Stupp c58223c21b
server/gitea: Disable logging of SQL requests 4 years ago
Felix Stupp 3b33ff4c0c
fail2ban/application: Set file permissions for sshd.local config 4 years ago
Felix Stupp 2526033405
fail2ban/application: Send log messages to journald 4 years ago
Felix Stupp 0043d6255a
nginx/application global.conf: Added comment to excluding hidden files 4 years ago
Felix Stupp 025f77736a
dns: Changed approach for DNSSEC signing to inline-signing
- Moved keys into own directory
- Replaced makefile per zone by makefile for all zones
  - Only combining of zone files and setting serial number
  - signing now made by bind
- Added AppArmor profile extension for creating dynamic zone files
4 years ago
Felix Stupp 274f658016
nginx/php-pool: Fixed permissions for other 4 years ago
Felix Stupp e85ad8fed3
dns: Fixed applying permissions to directories 4 years ago
Felix Stupp c89ec27f6d
dns/master: Changed TODO for "Copy public key" to "Copy ZSK"
Only required and beneficial for ZSK
4 years ago
Felix Stupp 905a887b80
dns: Renamed zones_configuration_environment_ to zones_environment 4 years ago
Felix Stupp 7e2813928e
dns: Renamed variables, removed prefix dns_ on not essential variable names 4 years ago
Felix Stupp 4e6df015f5
Added roles nfs/server and nfs/export 4 years ago
Felix Stupp 24ab62d6a0
acme/application: Fixed usage of YAML multiline for "Upgrade acme.sh" 4 years ago
Felix Stupp a03a335430
account: Added bmon to tools list 4 years ago
Felix Stupp a576893776
misc/docker: Install docker-compose bindings for python3 4 years ago
Felix Stupp b600f678ca
misc/docker: Install python3 docker bindings using package manager 4 years ago
Felix Stupp 8758553a02
common: Install explicit python3 interpreter 4 years ago
Felix Stupp 2dcfd1b09e
nginx: Added full paths to includes of snippets / fastcgi_params
To allow Ansible to validate the main config if placed on different
locations
4 years ago
Felix Stupp ff7275cb60
server/{linx,spotme}: Removed default bind_port 4 years ago
Felix Stupp 4a186854cf
server/node: Renamed variable app_port to bind_port 4 years ago
Felix Stupp f6c1aff55a
server/spotme: Renamed variable spotme_port to bind_port 4 years ago
Felix Stupp 7e0df4abc5
Added variable local_user for user running playbook
Useful if tasks store data on the local machine
4 years ago
Felix Stupp 9d50f84321
server/firefox-sync: Changed remote repo url back to official repo 4 years ago
Felix Stupp f91f2bc325
Added role fail2ban/application 4 years ago
Felix Stupp c110a24e9f
common: sshd: Disable weak key algorithms 4 years ago
Felix Stupp 505c85eb11
common: Disable root login over ssh 4 years ago
Felix Stupp 651794a136
common: sshd: Disable X11 Forwarding globally 4 years ago
Felix Stupp baace3ce16
misc/handlers: Changed "restart ssh" to "reload ssh" 4 years ago
Felix Stupp 025d8a3256
Added role misc/ssh_tg_notify
- Added role to common site
- Added variables required to global vars and vault
5 years ago
Felix Stupp 69b884ad3f
bootstrap: Configure ssh key used to connect on new user 5 years ago
Felix Stupp f610812fc7
bootstrap: Ensure user has .ssh/authorized_keys before trying to copy 5 years ago
Felix Stupp 096554f37b
mqtt/user: Fixed usage of var user (before username) 5 years ago
Felix Stupp fe393bd246
mqtt/application: Enforce sort part files before combining for acl and auth 5 years ago
Felix Stupp 1a608ce172
mqtt/application: Remove config use_username_as_clientid
Seems to block users with different username and clientid
5 years ago
Felix Stupp e18f7f32e0
mqtt/application: Add paths for acl and auth files to config 5 years ago
Felix Stupp 46e932049e
mqtt/application: Allow root to read SYS topics 5 years ago
Felix Stupp b6de0c1a4d
mqtt/application: Fix usage of variable configuration_directory 5 years ago
Felix Stupp cf632d1a56
mqtt: Ensure create auth files before writing using mosquitto_passwd
Fixes error on calling tool if file does not exist
5 years ago
Felix Stupp 4b6cef5c10
mqtt/application: Notify handlers on change to makefile 5 years ago
Felix Stupp 82c7666ae8
mqtt/application: Fix port for mosquitto server 5 years ago