build-base.sh mainly converted to playbook