67 Commits (77d1e84117397c0c0e2f0e877a887c8fae35249d)

Author SHA1 Message Date
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.
5 years ago
Felix Stupp 04c71a8611
common: ssh makefile: Sort part files before combining 5 years ago
Felix Stupp 164cdbbc79
common: Tagged ip blocklist for easier skipping 5 years ago
Felix Stupp 187f573d4f
common: Added pv to required common packages 5 years ago
Felix Stupp eff48f1773
Changed approach for generating sshfp RR to lookup on python script 5 years ago
Felix Stupp 592bb483cf
common: Used variable global_ssh_key_directory for public_keys path 5 years ago
Felix Stupp 8758553a02
common: Install explicit python3 interpreter 5 years ago
Felix Stupp c110a24e9f
common: sshd: Disable weak key algorithms 5 years ago
Felix Stupp 505c85eb11
common: Disable root login over ssh 5 years ago
Felix Stupp 651794a136
common: sshd: Disable X11 Forwarding globally 5 years ago
Felix Stupp fcae6e8429
Added blocklist of known malicious ip addresses applied by role common 5 years ago
Felix Stupp f2c9b17194
Moved packages only required for admin account from role common to role account 5 years ago
Felix Stupp 25df92ee7b
common: Removed package buffer
Replaced by pv integrated buffering
which supports greater limits.
5 years ago
Felix Stupp e68c6ffe50
common: Added todo / comment to (transition) package apt-transport-https 5 years ago
Felix Stupp 3c7fb65ac9
common: Removed package acl
Not installable on Raspbian and also not used on any Debian system
5 years ago
Felix Stupp 9e8d1b5220
common: Fix applying sources.list for different distributions 5 years ago
Felix Stupp ff3d6cba8e
Added group os_raspbian 5 years ago
Felix Stupp 78032d343f
common: Made sources.list dependent of distribution 5 years ago
Felix Stupp bc8233990f
common: Scheduled removal of old backups at 0:30
So for the most time two states are stored on the server.
The storage which will stay free can be better used to calculate the
storage which can still be used by dividing the free storage by 3.
5 years ago
Felix Stupp e62a3c7232
common: backup_autoremove: force rm
so no error occurs because no parameter was given
5 years ago
Felix Stupp 00fa7852e1
common: backup_autoremove: Fix call find 5 years ago
Felix Stupp 102de98479
common: Configured auto remove of backups 5 years ago
Felix Stupp 8623d84b01
common: Ordered backup_files before backup_mysql_database 5 years ago
Felix Stupp fce052c32b
common: backup_rename: Fixed getting multiple extensions 5 years ago
Felix Stupp 10ef319008
Moved mysql database backups into certain directory 5 years ago
Felix Stupp 4be0e9377f
Moved file backups into certain directories 5 years ago
Felix Stupp c959db1d3f
common: backup_mysql_database: Adapted script to structure of backup_files 5 years ago
Felix Stupp 63e0a85dc0
common: backup_files: Rename backups to just date.ext 5 years ago
Felix Stupp 07706a1119
common: backup_rename: Surrounded variable contents with quotation marks 5 years ago
Felix Stupp a4b47021c3
Replaced shebangs using /usr/bin/env 5 years ago
Felix Stupp e6cbc59571
common: Added create backup scripts directories 5 years ago
Felix Stupp 5b253fd6b6
common: Generalized creating directories for scripts 5 years ago
Felix Stupp 94ee600180
common: backup_files: Fixed packing tar 5 years ago
Felix Stupp 99c4c21cad
Reordered backups_files_directory above backups_mysql_database_directory 5 years ago
Felix Stupp 4874bc2bbd
Renamed global variable backups_databases_directory to backups_mysql_database_directory
In order to specify and separate backups of different database services
5 years ago
Felix Stupp 73f1db7961
Specified backup_database to backup_mysql_database 5 years ago
Felix Stupp e8503c41a4
common: Replaced buffer with pv as buffer
Also increased buffer size to 256M
5 years ago
Felix Stupp 4c9a2a8eb7
common: Reformated commands 5 years ago
Felix Stupp fb0c1f0901
Changed "ansible_fqdn" to "inventory_hostname"
Due to some hosts misconfigure fqdn themselves
5 years ago
Felix Stupp 71e1b4a17c
common: Added custom fact for dpkg architecture 5 years ago
Felix Stupp afc80db48a
common: backup_files.sh: Disable compression of gpg 5 years ago
Felix Stupp 452efc2717
common: Reconfigured bash in backup scripts
Added options for better error handling
5 years ago
Felix Stupp b2b9466a28
common: Added global variable for backup gpg fingerprint 5 years ago
Felix Stupp 5c1a6b6a89
common: Improved helper script gpg_import_url_key
- Disabled output from called commands
- Improved shell options when failing
- Alternative return code if key is already stored in keyring
5 years ago
Felix Stupp 7ac7806dc7
Fixed some lint errors
- Added missing default parameters
- Added names to tasks
- Configured changed|failed_when options
- Used command instead of shell module
- Changed local_action to delegate_to
- Added line to file ending
5 years ago
Felix Stupp 5ea380e812
common: Fix auto backup database script
Encryption failed
5 years ago
Felix Stupp bcfd4cb010
Fixed missing mode setting for others
To disallow access from others than user and group
5 years ago
Felix Stupp c25df42253
common: Reworked ssh configuration generation 5 years ago
Felix Stupp 0944fd798f
common: Added configuration of apt sources 5 years ago
Felix Stupp 16d91d83bd
common: Added aptitude to list of common packages 5 years ago