Commit Graph

19 Commits

Author SHA1 Message Date
Jeremy Gardais 9c8c181e70
Fix E503 Task that run when changed should likely be handlers
Daemon_reload moved to handlers file.
2019-02-26 17:30:43 +01:00
Jeremy Gardais f85fd58bad
Fix E303 systemctl used in place of systemd module 2019-02-26 14:05:37 +01:00
Jeremy Gardais 67b3cbc635
Fix E405 Remote package tasks should have a retry 2019-02-26 14:00:11 +01:00
Jeremy Gardais c6e53f30d9
Fix some minor warnings from ansible-lint 2018-08-06 15:25:03 +02:00
Jeremy Gardais f7f230589b Create a symlink (/usr/tmp) to /tmp to avoid error
fix #2 .
2018-02-28 15:04:06 +01:00
Jeremy Gardais 2913b41c13 Don't purge unit file
Otherwise the service can't be stopped.
2018-02-28 11:01:06 +01:00
Jeremy Gardais d498ca502a Revert 4a51da3
Cause if a service is started|stopped manually, it can't come back in
the desired state.
2018-02-28 10:58:25 +01:00
Jeremy Gardais 4a51da3a96 Integrate "Manage services" to the handler 2018-02-27 15:51:44 +01:00
Jeremy Gardais 6cb121a5ea Ensure to remove service management if deploy state is "absent" 2018-02-27 15:47:08 +01:00
Jeremy Gardais 394b2ecdb5 Set a var to manage the state of the deployment by this role 2018-02-27 14:06:20 +01:00
Jeremy Gardais bc5ad21d32 Manage services for the lists var (flexlm__licences)
Also allow to manage several licences on a same host (close #1)
2018-02-27 12:06:01 +01:00
Jeremy Gardais 2b531de478 Add possibility to deserve licence file to the host 2018-02-27 09:41:54 +01:00
Jeremy Gardais b4b3631f29 Add a way to provide vendor daemon for licences 2018-02-27 08:32:20 +01:00
Jeremy Gardais 9bd0dee48b Ensure to enable the service and reload list of systemd units 2018-02-23 16:22:47 +01:00
Jeremy Gardais 34cd661087 Set up a systemd service 2018-02-23 15:56:31 +01:00
Jeremy Gardais 1036d20858 Create a specific user to launch `lmgrd` 2018-02-23 15:27:53 +01:00
Jeremy Gardais c83bd2decc Ensure to have a symlink for `lmgrd` to it's last version 2018-02-23 15:16:34 +01:00
Jeremy Gardais 03cc974a0c Copy `lmgrd` and `lmutil` binaries 2018-02-23 14:32:08 +01:00
Jeremy Gardais e8f31b15b2 Install dependencies 2018-02-23 11:30:56 +01:00