2018-02-23 16:22:47 +01:00
|
|
|
---
|
|
|
|
# handlers file for flexlm
|
2018-02-27 12:05:11 +01:00
|
|
|
- name: restart flexlm services
|
|
|
|
service:
|
|
|
|
name: '{{ "flexlm-" + item.name }}'
|
2018-02-28 14:43:40 +01:00
|
|
|
state: '{{ "restarted" if (flexlm__deploy_state == "present" and (item.service | d(True) | bool)) else "stopped" }}'
|
2018-02-27 15:51:44 +01:00
|
|
|
enabled: '{{ item.service | d(True) | bool }}'
|
2018-02-27 12:05:11 +01:00
|
|
|
with_flattened:
|
|
|
|
- '{{ flexlm__licences }}'
|