Fix some minor warnings from ansible-lint

This commit is contained in:
Jeremy Gardais 2018-08-06 15:23:31 +02:00
parent f7f230589b
commit c6e53f30d9
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
3 changed files with 5 additions and 4 deletions

View File

@ -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.

View File

@ -7,4 +7,3 @@
enabled: '{{ item.service | d(True) | bool }}' enabled: '{{ item.service | d(True) | bool }}'
with_flattened: with_flattened:
- '{{ flexlm__licences }}' - '{{ flexlm__licences }}'

View File

@ -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 }}'