From 36e8b50364f7bda8a2193fa4971a5a43487bcb8a Mon Sep 17 00:00:00 2001 From: Colton Mills Date: Tue, 13 Nov 2018 13:30:51 -0500 Subject: [PATCH] Fixed bugs in ANT windows role The ant url was changed but forgot to update 1.10.3 to 1.10.5 when testing if ant was already installed. Also added /m when declaring ANT_HOME so the variable will be set at the system level. Signed-off-by: Colton Mills --- .../AdoptOpenJDK_Windows_Playbook/roles/ANT/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/playbooks/AdoptOpenJDK_Windows_Playbook/roles/ANT/tasks/main.yml b/ansible/playbooks/AdoptOpenJDK_Windows_Playbook/roles/ANT/tasks/main.yml index 53be31e27d..eefc61af82 100644 --- a/ansible/playbooks/AdoptOpenJDK_Windows_Playbook/roles/ANT/tasks/main.yml +++ b/ansible/playbooks/AdoptOpenJDK_Windows_Playbook/roles/ANT/tasks/main.yml @@ -5,7 +5,7 @@ - name: Test if Ant is already installed win_stat: - path: 'C:\apache-ant\apache-ant-1.10.3' + path: 'C:\apache-ant\apache-ant-1.10.5' register: ant_installed tags: ANT @@ -33,7 +33,7 @@ tags: ANT - name: Set ANT_HOME - raw: setx ANT_HOME "C:\apache-ant\apache-ant-1.10.5" + raw: setx ANT_HOME "C:\apache-ant\apache-ant-1.10.5" /m when: (ant_installed.stat.exists == false) tags: ANT