Add extra checks for when the nginx repo is needed.
This commit is contained in:
parent
fe32888347
commit
42d1937b3a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user