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...

hosts: localhost

connection: local


 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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2644dbbb-14b3-40eb-9950-2e5092e2add3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to