Ansible configuration that can be used with Ubuntu. Currently tested on 24.04 LTS.
sudo apt update && sudo apt upgrade -y && sudo apt install -y git ansible
sudo ansible-pull -U https://github.com/lab1702/ubuntu-ansible.git --extra-vars "host_user=${USER}"
onedrive
onedrive --synchronize
sudo systemctl enable onedrive@${USER}.service
sudo systemctl start onedrive@${USER}.service
sudo journalctl --unit=onedrive@${USER} -f