From 6b882883cd91e6c45415bac1642e04b2cec4d5fb Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 30 Jul 2020 19:38:35 +0200 Subject: [PATCH] Add a missing handler. --- handlers/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index 27474e0..37a7ba2 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,2 +1,5 @@ --- -# handlers file for ansible-role-template \ No newline at end of file +- name: Set the default OpenJDK + alternatives: name={{ item }} path={{ jdk_java_home }}/bin/{{ item }} + with_items: '{{ openjdk_commands }}' + when: openjdk_install \ No newline at end of file