Hello. I am new to Ansible. Is there a way to create a dynamic array called packages.
I currently have the following blow, but I would like to just have it called packages, depending on debian or redhat, and if another OS, packages is empty. vars: - packages_debian: - dash - bash - ksh - tcsh - gawk - perl - python - php5-cli - ruby - tcl8.5 - packages_redhat: - dash - bash - ksh - tcsh - gawk - perl - python - php-cli - ruby - tcl -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7d63e3bb-f87a-4c5e-878e-263e13cd93cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.