Fix some minor warnings from ansible-lint
This commit is contained in:
parent
f7f230589b
commit
c6e53f30d9
|
@ -1,6 +1,9 @@
|
||||||
|
## v2.X
|
||||||
|
|
||||||
## v2.x
|
### Fixes
|
||||||
|
* Fix some warnings from ansible-lint.
|
||||||
|
|
||||||
|
## v2.1
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
* Add a missing ")" in the handler.
|
* Add a missing ")" in the handler.
|
||||||
|
|
|
@ -7,4 +7,3 @@
|
||||||
enabled: '{{ item.service | d(True) | bool }}'
|
enabled: '{{ item.service | d(True) | bool }}'
|
||||||
with_flattened:
|
with_flattened:
|
||||||
- '{{ flexlm__licences }}'
|
- '{{ flexlm__licences }}'
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
- name: Add licence file
|
- name: Add licence file
|
||||||
copy:
|
copy:
|
||||||
src: '{{ (item.lic_src | dirname) + "/" }}' # Need a final "/"
|
src: '{{ (item.lic_src | dirname) + "/" }}' # Need a final "/"
|
||||||
dest: '{{ (item.lic_path | d("/opt/" + item.name + "/etc/licence.lic")) | dirname }}'
|
dest: '{{ (item.lic_path | d("/opt/" + item.name + "/etc/licence.lic")) | dirname }}'
|
||||||
owner: '{{ flexlm__user_name }}'
|
owner: '{{ flexlm__user_name }}'
|
||||||
group: '{{ flexlm__user_name }}'
|
group: '{{ flexlm__user_name }}'
|
||||||
|
@ -103,4 +103,3 @@
|
||||||
enabled: '{{ item.service | d(True) | bool }}'
|
enabled: '{{ item.service | d(True) | bool }}'
|
||||||
with_flattened:
|
with_flattened:
|
||||||
- '{{ flexlm__licences }}'
|
- '{{ flexlm__licences }}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue