Skip to content

ansible-apply

Creates a critical alert if a bootstrap Task failure occurs.

Runs one or more Ansible Playbook templates as defined by the ansible/playbook-templates variable in the stage calling the task.

Requires an ansible context or a way to install ansible.

Expects to have rsa-key-create run before stage is called so that rsa/* params exist for remote execution.

Information can be chained together by having the playbook write [Machine.Uuid].json as a file. This will be saved on the machine as Param.ansible/output. The entire Machine JSON is passed into the playbook as the digitalrebar variable so it is available.