1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--- - set_fact: pkgnames: - qt-devel when: - ansible_distribution == "CentOS" - set_fact: pkgnames: - libqt4-dev - m4 - squashfs-tools - pkg-config - cmake - build-essential - xserver-xorg when: - ansible_distribution == "Ubuntu"