This is a salt state module to install mosh on a server.
To download salt-mosh to your salt-master:
cd /srv/salt
git clone https://github.com/zanloy/salt-mosh.git mosh
To install mosh, add the following to your top.sls:
include:
- mosh
To install mosh once, you can run the following command:
salt '*' state.sls mosh