Skip to content

Ansible

BigConfig requires Clojure and Babashka. You should also configure dirvenv for your shell.

Terminal window
brew install clojure/tools/clojure
brew install borkdude/brew/babashka
brew install direnv
  1. Create the ansible project
    Terminal window
    # Add big-config as tool to Clojure
    clojure -Ttools install-latest :lib io.github.amiorin/big-config :as big-config
    # Invoke the ansible template
    clojure -Tbig-config ansible
  2. Configure git
    Terminal window
    git init
    git add
    git commit
    git push
  3. Shows the Babashka tasks
    Terminal window
    bb tasks
  4. Show the BigConfig DSL manual.
    Terminal window
    bb show-help

Ansible files are either YML or JSON. Many of them should be generated with code like the inventory and the variable files. Have a look at this BigConfig Ansible project .