- Install Ansible
- Have your raspberry pi setup with Ubuntu Desktop 22.04.3 LTS (64-BIT)
- setup SSH
sudo apt-get install openssh-server
- Connect the raspberry pi to WiFi and get the IP
ifconfig
, your IP is the number after inet under wlan0
- Find the IP of the raspberry pi you want to ssh into
- edit
hosts
to add your host IP undermacfe
group - ssh into the raspberry pi and save fingerprint
- Test that you can ping the raspberry pi with:
- ansible -u user all -m ping --ask-pass
- run
ansible-playbook -i hosts deploy.yml --ask-become-pass
- Clone the repository
git clone https://github.com/macformula/macfe_ansible.git
- Setup Git configurations
-
In the working directory of the repo, run the below commands
git config core.eol lf
git config core.autocrlf input
-