Assumptions: 1.) Running on Raspberry Pi 4+
sudo cat /sys/firmware/devicetree/base/model;echo
sudo apt update
sudo apt install -y software-properties-common
sudo apt install -y ansible
ansible --version
Setup Log
id
clear
cd /etc/
sudo mkdir ansible
sudo vi /etc/ansible/ansible.cfg
sudo vi /etc/ansible/hosts
cat /etc/ansible/hosts
ping 192.168.1.147
ansible myservers -m ping -u pi --ask-pass
which sshpass
TODOs
- Write a python 3 script to automate the setup PXE Boot server for Raspberry Pi
- If there is automation gap PXE left, then write a python 3 script to automate ansible setup for Raspberry Pi