This Ansible playbook will configure your Raspberry Pi Model 4 B running Ubuntu Server 23.04 (64-bit) to work with a Waveshare 3.5inch RPi LCD (A).
Other links:
- Make a backup of your Pi. I'm not responsible for any damage or files lost during the install process
- Execute all steps as root
a. Install ansible
# apt install ansible
b. Download the ansible repo to '/root'
# cd
# git clone "https://github.com/redjoker/waveshare35-rpi4b-ubuntu-23.04-64.git"
c. Change into the project directory and run the Ansible playbook
# cd waveshare35-rpi4b-ubuntu-23.04-64
# ansible-playbook playbook.yaml
Note: The update/upgrade part of the install takes quite a while
# ansible-playbook playbook.yaml
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost
does not match 'all'
PLAY [localhost] ****************************************************************************************
TASK [Gathering Facts] **********************************************************************************
ok: [localhost]
TASK [packages : Running apt-get update and upgrade] ****************************************************
Reference: