diff --git a/roles/keycloak/tasks/restart_keycloak.yml b/roles/keycloak/tasks/restart_keycloak.yml index 2d782449..d77ee586 100644 --- a/roles/keycloak/tasks/restart_keycloak.yml +++ b/roles/keycloak/tasks/restart_keycloak.yml @@ -24,4 +24,4 @@ enabled: yes state: restarted become: yes - when: and inventory_hostname != ansible_play_hosts | first + when: inventory_hostname != ansible_play_hosts | first