Ansible is a radically simple deployment, configuration, and command execution framework. It is dead simple and painless to extend. Extending Ansible does not require programming in any particular language; you can write modules as scripts or programs which return simple JSON. It’s also trivially easy to just execute useful shell commands.
Bear is a lightweight remote automation tool for Groovy/Java/JVM. It allows you to deploy projects, setup your cluster, and install software to your remote machines. It differs from other existing tools in that it uses a programmatic approach - your deployment is a regular Java class. It also uses static types, chained method calls, FP, and fluent programming techniques.