tree: 53619541c67204739dafa33f5392565c8484dd4b [path history] [tgz]
  1. README.md
  2. cleanup-disk.yml
  3. cp_authorized_keys.yml
  4. cp_gitconfig_netrc.yml
  5. df_check.yml
  6. disk_check.yml
  7. migrate_to_prod.yml
  8. ntpdate.yml
  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