This Ansible script is meant to target Linux (specifically Debian/Ubuntu at this time) hosts and install istatserver on them, for use with iStat for macOS and iOS.
You'll need to create a hosts
file according to the Ansible inventory guide.
$ ansible-playbook playbook.yml
You'll want the see the config in order to know what the automatically generated server code is.
$ ansible all -m shell -a "cat /usr/local/etc/istatserver/istatserver.conf | grep code"