ANXS / postgresql

Fairly full featured Ansible role for Postgresql.
http://anxs.io/
MIT License
850 stars 573 forks source link

Issue #322: Fix deprecation warnings #382

Closed stejoo closed 5 years ago

stejoo commented 5 years ago

Resolve the Using tests as filters is deprecated warning by changing the version_compare statements as told by the Ansible 2.5 Porting Guide - Deprecated.

stejoo commented 5 years ago

Earlier I fixed deprecation warnings concerning the version_compare tests. Now I added fixes for the package installation tasks using with_items style loops.

Other with_items style loops remain. Those are not generating a deprecation warning at the moment, but should be altered to loop style loops.

stejoo commented 5 years ago

Interesting. Looking at the log I get the impression yum just had a hiccup. Looks like a (temporary) repository issue. As the code for the other and working versions is the same, only the version number is different. I'm interested to see if a second test run also fails. Could somebody re-run the Travis?

Because the one that failed: centos7. Is the exact thing I have running with postgresql10. So I know for a fact that code path does work over here.

stejoo commented 5 years ago

Gonna try a close and pull again