Here’s how you can migrate your entire server configuration from an old host to a new one:

scp root@oldhost:/root/.bash_history /tmp/migrate.sh
sudo sh /tmp/migrate.sh
view raw Replicate.sh hosted with ❤ by GitHub

No need to futz about with Ansible, Jenkins, Docker or any of that other crap.