Skip to content

Commit

Permalink
Fixed bugs in ANT windows role
Browse files Browse the repository at this point in the history
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 <millscolt3@gmail.com>
  • Loading branch information
cwesMills authored and jdekonin committed Nov 13, 2018
1 parent de702f4 commit 36e8b50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 36e8b50

Please sign in to comment.