galaxyproject / ansible-postgresql

An Ansible role for managing a PostgreSQL server
https://galaxy.ansible.com/galaxyproject/postgresql
122 stars 58 forks source link

Update syntax, remove deprecation warnings #18

Closed jdavcs closed 5 years ago

jdavcs commented 5 years ago

1) Do not use filter syntax for tests 2) Do not use Jinja2 syntax in when clause

(tested on ansible==2.5)

bgruening commented 5 years ago

Thanks @ic4f!

jdavcs commented 5 years ago

Thank you for merging, @bgruening! I don't have write access yet to take care of these: 1) there's an earlier PR by @eslerm (#17) that addressed part of the same issue (I've just noticed); 2) there's also an open issue opened by @dpneumo (#14 ) that addresses the other part.. Both of these were covered by the merged PR, so both can be closed (I can't close them myself)

Thank you, @dpneumo and @eslerm!