Ensure to have a symlink for `lmgrd` to it's last version

This commit is contained in:
Jeremy Gardais 2018-02-23 14:36:52 +01:00
parent 03cc974a0c
commit c83bd2decc
2 changed files with 12 additions and 1 deletions

View File

@ -4,3 +4,4 @@
### Features
* Install FlexLM dependencies.
* Copy `lmgrd` and `lmutil` binaries.
* Ensure to have a symlink for `lmgrd` to it's last version.

View File

@ -13,7 +13,7 @@
# }}}
# bin
# bin {{{
- name: Add lmgrd bin
copy:
src: '{{ flexlm__lmgrd_source + "." + flexlm__lmgrd_version }}'
@ -22,6 +22,14 @@
group: root
mode: 0755
- name: Link to the last version of lmgrd
file:
src: '{{ flexlm__lmgrd_path + "." + flexlm__lmgrd_version }}'
dest: '{{ flexlm__lmgrd_path }}'
owner: root
group: root
state: link
- name: Add lmutil bin
copy:
src: '{{ flexlm__lmutil_source }}'
@ -30,3 +38,5 @@
group: root
mode: 0755
# }}}