Add a missing ")" in the handler

This commit is contained in:
Jeremy Gardais 2018-02-28 14:43:40 +01:00
parent 940a2b9dc7
commit a8a6192cdc
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,9 @@
## v2.x
### Fixes
* Add a missing ")" in the handler.
## v2.0
### Features

View File

@ -3,7 +3,7 @@
- name: restart flexlm services
service:
name: '{{ "flexlm-" + item.name }}'
state: '{{ "restarted" if (flexlm__deploy_state == "present" and (item.service | d(True) | bool) else "stopped" }}'
state: '{{ "restarted" if (flexlm__deploy_state == "present" and (item.service | d(True) | bool)) else "stopped" }}'
enabled: '{{ item.service | d(True) | bool }}'
with_flattened:
- '{{ flexlm__licences }}'