Ansible Executor

The following is a sample illustration to integrate Visual workflow and Ansible with Ansible as a southbound. This will allow discovery of any existing playbooks and further automate and orchestrate with Visual Workflow.

To connect to an Ansible instance, discover and reuse a BIG-IP playbook and integrate with Infoblox IPAM via Visual Workflow:

  1. On the Workflow Inventory page, from the navigation pane on the left, click Integration Hub.

  2. To configure an Ansible instance, click Ansible.

  3. Enter the field information under the General section.

  4. Define the folder/path from where existing playbooks can be discovered within the workflow studio.
  5. Click Save.
  6. Design a new workflow.
  7. From the DevOps folder, select Ansible > Network Modules > F5.
  8. From the F5 folder, drag and drop the BigIP_Virtual_Server task into the workspace.
  9. In the YAML Editor task window, under Properties, in the Global variables section, declare the global variable in this task to pass data from the YAML task to the Ansible Executor on the southbound.

  10. From the General section, drag and drop the Ansible Executor task.
  11. In the Ansible Executor task window, under Properties, select the Ansible host on which implementation is to be done.
  12. Map the global variable from the YAML task.

  13. To auto-generate a self-service form, click Form above the Start task.
    Note: For more information on how to design self-service forms, refer to the section on Auto-generate forms.


  14. Connect the workflow tasks and enable the workflow.

  15. Trigger the workflow from the Request :: View/Run page.

  16. Enter the input details in the Form.

  17. Click Next.
  18. Submit the YAML task.
    • Ansible Executor task in progress.

    • Ansible Executor task completed.