Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Ansible

Require a file build.yml at the root of the project
You must have ansible installed on your machine, check installation steps

Flow

rbuild will autogenerate two files:

  • rbuild_inventory.ini that contain the servers from your config.json
  • rbuild_playbook.yml that will import your build.yml and run a few setup tasks beforehand Both files will get removed automatically at the end of the script

rbuild handle the calling of ansible-playbook, make sure this command is available in your $PATH.

Afterwards, you will get a summary of which server was able to build the package, and for thoses that failed, the error message received. Check out the demo here