Synology DS216j configuration
Pre-requirements
- Create
ansible
user inadministrators
group - Enable
SSH
inControl Panel
->Terminal & SNMP
-> CheckEnable ssh login
- Python 3 installed using
opkg
:opkg install python3
Playbooks
ssh
playbook (ssh.yaml
)
Pre-requirements
ansible.posix
foransible.posix.authorized_keys
module:ansible-galaxy collection install ansible.posix
ansible-playbook -k -K ssh.yaml
Configure sshd
daemon to secure access. It will
- Copy current ssh key to use it instead of password login.
- Set
ansible
user home permissions properly so the key could be use.
playbook.yaml
)
Main playbook (Pre-requirements
community.general
forcommunity.general.opkg
module:ansible-galaxy collection install community.general
- Set
username
andpassword
for transmission in config.yml.
ansible-playbook -K playbook.yaml
It will keep up-to-date:
pip
&setuptools
flexget
&transmission-rpc
transmission
Also, it configures flexget, applying the proper configuration file.