Sample playbooks illustrating Sansible, a DSL to generate and run AnsiblePlaybooks using the Scala programming language.
Playbooks are implemented as separate sbt projects, with shared concerns (e.g. installing
Oracle jre-8) factored out into a common
dependency. This build currently contains the following
sub-projects:
A minimalistic playbook showing how to provision a working instance of Gitbucket: a fully featured, open source Github clone written in Scala.
A slightly more complex playbook which sets up an Elastisearch cluster and configures it to run securely within a Tinc VPN. The project also illustrates how to generate an inventory dynamically using the Digital Ocean API. Configuration follows the steps detailed in Digital Ocean wiki. Please refer to the sub-project README for set up instructions..