Add extra checks for when the nginx repo is needed.

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

View File

@ -4,7 +4,7 @@
- import_tasks: keys/apt-key.yml
when:
- ansible_os_family == "Debian"
- nginx_install_from == "nginx_repository"
- nginx_install_from == "nginx_repository" or nginx_amplify_enable or nginx_controller_enable or nginx_unit_enable
- import_tasks: keys/rpm-key.yml
when: