Add extra checks for when the nginx repo is needed.

This commit is contained in:
Alessandro Fael Garcia 2018-10-18 21:39:36 +02:00 committed by gusttt
parent 42d1937b3a
commit c07792daee

View File

@ -9,7 +9,7 @@
- import_tasks: keys/rpm-key.yml - import_tasks: keys/rpm-key.yml
when: when:
- ansible_os_family == "RedHat" or ansible_os_family == "Suse" - ansible_os_family == "RedHat" or ansible_os_family == "Suse"
- nginx_install_from == "nginx_repository" - nginx_install_from == "nginx_repository" or nginx_amplify_enable or nginx_controller_enable or nginx_unit_enable
- name: "(Install: Debian/Ubuntu/CentOS/RedHat/FreeBSD) Install NGINX" - name: "(Install: Debian/Ubuntu/CentOS/RedHat/FreeBSD) Install NGINX"
block: block: