This is an Ansible playbook to setup a single Ubuntu server with Docker and Docker-compose.
- Ansible
This playbook is designed to install a ubuntu server, add users, keys, configurations and add a bunch of useful tools:
Setup ansible to work with hcloud host TODO add description
Copy pubkey from functional drone user to keys/drone.pubkey and functional debug user to keys/debug.pubkey
Copy the hosts example file and change the values to your needs:
$ cp hosts.example hosts
Setup your variables in the playbook.yml
file.
Then run the playbook:
$ ansible-playbook -i hosts playbook.yml
This project is released under the MIT license.