diff --git a/roles/wsgi_website/tasks/main.yml b/roles/wsgi_website/tasks/main.yml index fe209f64ee1b645efb3f75e4bc807c9c62441fc1..db710f93cb9b7fe11f84823340dd2f8548b84729 100644 --- a/roles/wsgi_website/tasks/main.yml +++ b/roles/wsgi_website/tasks/main.yml @@ -300,7 +300,7 @@ # This specific task is used in order to work around inability of Ansible # to provide properly parametrised handlers for reusable roles. set_fact: - wsgi_services_to_restart: "{{ wsgi_services_to_restart + [ fqdn ] }}" + wsgi_services_to_restart: "{{ wsgi_services_to_restart + [fqdn] }}" when: | fqdn not in wsgi_services_to_restart and ((install_extra_packages is defined and install_extra_packages.changed) or