Hello,
I am trying to get some assistance with the following. I am using a Boolean
inputs:
app1:
type: boolean
title: SQL
default: false
app2:
type: boolean
title: IIS
default: false
I would like to then be able to pass this into an input which will call ansible playbook that will match then the app1 or app2 tittle (SQL or IIS etc) which will be the name of the Ansible playbook in the controller.
------------------------
Cloud_Ansible_1:
type: Cloud.Ansible
properties:
----------------------
playbooks:
provision:
- /home/ansible/playbook.yml
- '${input.app1 == "true" ? "/home/ansible/sql.yaml" : ””}' -----> Run the following if the App1 is true .
but for some reason the value is not working and instead I am getting an error with:
The only playbook run options supported are playbook level variables (Specified by -e OR --extra-vars). Please correct the following playbooks specified with unsupported options: ${input.app1
Can someone provide some assistance? maybe I am doing something wrong or something needs to be different?
Thank you