The deployment of the software will be made with ansible-pull, without a remote machine. This is a little different from the classic client server deployment used with ansible and is, in a way, simpler.
To use ansible-pull we have to install ansible on the machine and download all the playbooks from a git repository.
This installation was tested on a clean virtual machine with Xubuntu 18.04.
Install ansible using pip. Alternative methods are available in the installation guide
sudo apt install git sudo apt install python-pip sudo pip install ansible
ansible-pull -U https://github.com/gabrieleteotino/ansible-workstation.git -K
Gantsign has a lot of nice roles to use directly or take inspiration.
https://github.com/gantsign/ansible-role-zram-config https://github.com/gantsign/ansible-role-xdesktop https://github.com/gantsign/ansible-role-dockbarx-launcher https://github.com/gantsign/ansible-role-default-web-browser