Using Ansible set up a bunch of computers for use at LiveWires.
- Install Ansible on the host computer (On MacOS:
brew install ansible
) - Ensure SSH servers are on each remote machine and you have access
- Copy the host public key to the remote servers
- List the IP addresses in the
hosts
file - Check everything is working with
ansible all -i hosts -m ping
With the hosts
file computers are groups by the section:
web
mob-dev
video
(coming soon)programming
(coming soon)
ansible-playbook playbook.yml -i hosts