Basic adapter over synopkg
to (un)install packages. Installation is with install_from_server
only (= remote packages from a built-in list).
tasks:
- name: Import synopkg role
import_role: name=ansible-role-synology-synopkg
- name: Uninstall bloatware ActiveInsight
synopkg:
name: ActiveInsight
installed: no
- name: Install Docker
synopkg:
name: Docker
installed: yes
- Tested and proven to work on
DSM 7.1
; ⚠️ Package names forsynopkg
are case-sensitive (soDocker
is an existing package name, thoughdocker
is not);make test
for tests;- The role's package is not idiomatic and this is mostly intentional. You're welcome to contribute back.
Since the role is a part of my homelab, it has never been prepared for public distribution and further public support. Though the role suits the needs well, there is no guarantee that it will work for you or will work ever properly. You apply it on your own responsibility.