sftp: removed service

This commit is contained in:
dogeystamp 2023-05-14 12:28:58 -04:00
parent 619bd7a5d2
commit 31d7f0fd35
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
4 changed files with 0 additions and 27 deletions

View File

@ -17,7 +17,6 @@ This project was largely inspired by his own [infra](https://github.com/notthebe
* Nginx webserver
* MediaWiki farm
* Navidrome music server
* SFTP (not really a service, included in sshd)
* Syncthing
* Firewall (UFW)

View File

@ -20,9 +20,6 @@ admin_username: maestro
# Username for unpriviledged user
username: dogeystamp
# Create an SFTP read-only user (leave blank to disable)
sftp_ro_username: dogeystamp-mobile
# Git repos (could be localhost if Gitea is installed)
dots_repo: http://localhost:3000/dogeystamp/dots.git
site_repo: http://localhost:3000/dogeystamp/wb4.git
@ -270,9 +267,6 @@ enable_navidrome: yes
# Personal website
enable_website: yes
# SFTP read-only user
enable_sftpr: no
# Syncthing
enable_syncthing: yes

View File

@ -1,15 +0,0 @@
- name: Create sftp read group
group:
name: sftpr
- name: Create sftp read-only user
user:
name: "{{ sftp_ro_username }}"
groups:
- sftpr
- name: Deploy SSH key to sftp user
ansible.posix.authorized_key:
user: "{{ sftp_ro_username }}"
state: present
key: "{{ lookup('file', '~/.ssh/keys/{{ ansible_hostname }}_sftp.pub')}}"

View File

@ -55,11 +55,6 @@
- nameserver
when: enable_nameserver
- role: services/sftp
tags:
- sftp
when: enable_sftpr
- role: services/mail
tags:
- mail