Ansible Playbook development

Citellus does support execution of ansible playbooks as long as:

  • ansible-playbook is installed and available in path

Playbooks can either: - Include CITELLUS_ROOT environment variable usage so they are executed in snapshoot mode. - or not have it, so they will be executed only in Live mode. - for playbooks that are valid for both Live and non Live, a comment with CITELLUS_HYBRID should be in the lines, so Citellus does flag it for both live and non live execution.

The idea behind this approach is that unmodified dropped-in the folder and citellus will pick them up for Live execution.

If a script has to be customized, it will contain the CITELLUS_ROOT variable, and they will be used for snapshoot mode.