Commit Graph
31 Commits
Author SHA1 Message Date
chrisandClaude Opus 5.5 67c1086e2c Role common: add task sftpd.yml for chrooted SFTP access.
- group 'sftpusers' (GID 200 or next free), sshd drop-in
  /etc/ssh/sshd_config.d/90-sshd-SFTP.conf (Match Group, ChrootDirectory %h,
  ForceCommand internal-sftp), PasswordAuthentication via
  'sftp_password_authentication'
- new sftp users (UID 201 or next free) with root owned chroot home,
  upload dir and root owned authorized_keys (always created)
- existing users (e.g. www-data, suexec users) can be added to the group;
  chroot requirements of their home are checked, not changed
- passwords: update_password defaults to 'always', password of users with
  shell access is never changed
- controlled by 'chrooted_sftpd_present' (default: false), tag 'sftpd'
- add empty sftpd section to all host_vars *-common.yml

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:42:42 +01:00
chris 11eee62a3c add extrepo.yml: Workaround für einen ifupdown-Paketbug. 2026-08-28 17:21:44 +02:00
chris 81398e847e Refactor Ansible tasks to use fully qualified module names and improve code consistency
- Updated all tasks to use fully qualified module names (e.g., ansible.builtin.shell, ansible.builtin.copy) for clarity and to avoid ambiguity.
- Replaced deprecated 'yum' module with 'dnf' for package management on RedHat-based systems.
- Improved formatting and consistency in task definitions, including the use of double quotes for strings and consistent indentation.
- Removed unnecessary comments and whitespace to enhance readability.
- Ensured that conditions and loops are consistently formatted across all tasks.
2026-07-20 23:09:30 +02:00
chris 8064f4a2fe Add extrepo tasks for managing external repositories in Debian 2026-03-30 10:37:45 +02:00
chris c94baae7ff Clean up whitespace and formatting in main.yml for improved readability 2026-03-27 15:12:08 +01:00
chris 72d4fae731 update.. 2026-03-01 15:23:24 +01:00
chris 4e06ed01aa get rid of deprecated code. 2026-02-01 12:30:58 +01:00
chris a18c127a31 add host gw-gh-gw; task chaching-nameservice must run befor task systemd-resolved. 2025-11-30 15:18:11 +01:00
chris 70c0c3bb7c update.. 2025-02-14 11:36:24 +01:00
chris 5fe32c6473 update.. 2025-01-21 16:53:58 +01:00
chris c9cee6deae update.. 2024-12-19 22:44:32 +01:00
chris df3db74c6b update.. 2024-08-02 17:25:47 +02:00
ckubu e29906f845 update .. 2024-06-09 01:30:38 +02:00
chris 67f771e2bf update.. 2024-02-04 17:27:13 +01:00
chris 74cb59cda1 update.. 2023-12-01 20:11:18 +01:00
chris 0c058e1a87 update.. 2023-10-28 19:57:20 +02:00
chris b551e937e9 update.. 2023-06-28 16:12:21 +02:00
chris 12c86849c2 update.. 2023-04-06 11:53:54 +02:00
chris 45115c6700 update.. 2022-11-17 18:10:40 +01:00
chris 34d8bccc43 update.. 2022-07-20 00:54:30 +02:00
chris d1629137c8 update.. 2022-06-14 12:04:05 +02:00
chris 526f7e919a update.. 2022-02-19 02:20:05 +01:00
chris b1fe98ea30 update.. 2022-01-22 00:06:54 +01:00
chris f662fe0f30 update.. 2021-10-30 02:35:49 +02:00
chris d22a65ad9a update.. 2021-04-18 13:56:36 +02:00
chris f944e62ab9 Update.. 2020-09-29 16:42:08 +02:00
chris 48a531ea3e Update .. 2020-06-06 22:41:08 +02:00
chris d7932dadc4 Add sudo user 'localadmin'. 2019-12-06 01:17:31 +01:00
chris 185a7bce72 add group for GA servers. 2019-07-06 16:27:08 +02:00
chris 505cdbf120 Reduce output from ansible playbooks. Some minor changes. 2019-07-03 04:14:14 +02:00
chris 21fcd86115 Initial commit 2019-06-28 02:28:50 +02:00