tree: 53619541c67204739dafa33f5392565c8484dd4b [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. restart_if_not_busy.yml
  11. rpi-hosts
  12. 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