Hello guys,
I'm a "noob" in Ansible. I have some probs with passing extra-vars to my playbook.
My playbook contains few roles to run.
- name: Instal Java etc...
roles:
- java
- mysql
-------------------------------------------------------------
My problem is:
1.I want to pass only 1 argument/var to the playbook
this arg/var should decide which VAR_FILE will be used for "- java" role.
2. Can I use conditions based on provided by extra-vars arg/var in var/main.yml?
Thank you for all of your help.
Kind regards,
Mat