tree: 55d439d64af5735323012ed9b67844c8d09b6463 [path history] [tgz]
  1. cleanup-disk.yml
  2. cp_authorized_keys.yml
  3. cp_gitconfig_netrc.yml
  4. df_check.yml
  5. disk_check.yml
  6. migrate_to_prod.yml
  7. ntpdate.yml
  8. README.md
  9. restart-collectd.yml
  10. rpi-hosts
  11. shutdown.yml
skolo/raspberry-pi/ansible_scripts/README.md

Ansible cheat sheet

The playbooks here are examples for doing large scale maintanence on the rpi fleet.

See https://docs.google.com/document/d/1o07eSiEnzDS0D90HRn_fIWEGOUqmPx3w1d-LP-_MdUQ/edit for more information.

Run on one rpi

ansible-playbook -i rpi-hosts -l 192.168.1.215 print-hostname.yml -vv

Run on all rpis listed in rpi-hosts

ansible-playbook -i rpi-hosts print-hostname.yml -vv