Become a root user and do the following:
apt-get install sudo dirmngr
adduser <username> sudo
Add the following lines to /etc/apt/sources.list
# jessie security updates
deb http://security.debian.org/debian-security jessie/updates main
# ansible
deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main
Then run these commands:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
apt-get update
apt-get install ansible
Finally, run the local.yml
playbook to configure your workstation:
sudo ansible-playbook local.yml