This seems to have sorted it!
lib_dir_version: "{{ (version_no == '12')|ternary('12','11') }}"
single quoted the value '12'
Brian Thanks for the heads up - Pointed me properly in the right direction
Thank you!
Chris
On Friday, 2 October 201
Thanks for the response Brian
So far I have changed the syntax to the following: (Had to wrap the
version_no == 12 in ( ) to supress `False` passing through.
lib_dir_version: "{{ (version_no == 12)| ternary('12','11') }}"
If I enter 11 in my prompt - I get the expected echo of
echo "My lib di
According to http://docs.ansible.com/ansible/playbooks_variables.html
" the when conditional can also be used with variables"
However here is my issue with it on ansible-1.9.2-1.
I'm setting a vars_prompt for version number.
When running through it, i'm specifying Version 11.
- name: "ve
Hi all
I need some help with this.
What I require is the start of my elk playbook to call another playbook
called (Katello)
Whenever i run the playbook with the include at the start - It Ignores any
tasks underneath it and ends.
I've tried this every which way and am at a loss.
How can I get t