I solved it, but if there is better solution for this.

vars:
  - packages:
    - dash
    - bash
    - ksh
    - tcsh
    - gawk
    - perl
    - python
    - php5-cli
    - ruby
    - tcl8.5
    when: ansible_os_family == "Debian"
  - packages:
    - dash
    - bash
    - ksh
    - tcsh
    - gawk
    - perl
    - python
    - php-cli
    - ruby
    - tcl
    when: ansible_os_family == "RedHat"


-- 
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/5c437beb-1103-4b53-a2b7-b0d590b0c475%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to