1 2 3 4 5 6 7 8 9 10 11 12
--- - name: Package Manager | Init the did_install fact set_fact: did_install: false - include: pkgMgrInstallers/centos-install.yml when: ansible_distribution == "CentOS" and not is_atomic - name: Package Manager | Set fact saying we did CentOS package install set_fact: did_install: true when: ansible_distribution == "CentOS"