To execute this role the jmespath package is required on the host machine.
You can install it with pip install jmespath
.
snapserver_update
: IfTrue
updates an existing snapserver package to the newest version from GitHub. (DefaultTrue
)snapserver_rpc_port
: The port Snapserver listens on. (Default1705
)snapserver_dirs_to_create
: (Default []) Create these directories before starting the snapcast server.snapserver_sources
: (Default []) List of sources for the snapcast serversnapserver_runtime_directory
: (Default snapserver) Runtime directory for the systemd service. man systemd
This role requires the community.general collection.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: server
vars:
snapserver_sources:
- pipe:///tmp/audio/default?name=Pipe&mode=create&dryout_ms=2000
roles:
- role: stegmannb.snapcast_server
MIT