From f7f230589bf0b1804db1313c6975afab8f6e2462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Wed, 28 Feb 2018 15:04:06 +0100 Subject: [PATCH] Create a symlink (/usr/tmp) to /tmp to avoid error fix #2 . --- CHANGELOG.md | 2 ++ README.md | 1 + tasks/main.yml | 7 +++++++ 3 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b28b33e..2704a7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,10 @@ ## v2.x + ### Fixes * Add a missing ")" in the handler. +* Create a symlink (/usr/tmp) to /tmp to avoid error (fix #2). ## v2.0 diff --git a/README.md b/README.md index 6272f30..47e5d60 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ This role will : * Set up a systemd service (flexlm-item.name). [Thanks to Kalebo instructions][kalebo instruction flexlm systemd]. * Copy vendor daemon binaries to the host if source is specified. * Copy licence file to the host if source is specified. +* Create a symlink (/usr/tmp) to /tmp to avoid error. The `lmgrd` and `lmutil` binaries comes from [Mathworks][mathworks download url] in version **flexlm__lmgrd_version**. diff --git a/tasks/main.yml b/tasks/main.yml index 0da6f77..c5157e3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -19,6 +19,13 @@ createhome: False system: True +# Create a symlink for /tmp [[[1 +- name: Symlink /usr/tmp + file: + src: /tmp + dest: /usr/tmp + state: link + # lmgrd and lmutil binaries [[[1 - name: Add lmgrd bin copy: