is it just me or conditional installation of packages is not possible with 
ansible?

- name: install foreman rubygem-apipie-bindings package
  yum: name=rubygem-apipie-bindings state=present
  when: foreman_proxy_register

the package always installs even if I specify 
```
foreman_proxy_register: false
```
in host_vars

-- 
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/859d6468-938b-4d54-8f7e-4efb50d341d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to