There is a modification since Ansible 2.5 with the way that include_tasks works with become_user
PostgreSQL 11 Released! One year after the PostgreSql 10. Read more here
As announced with Ansible 2.7, python 2.6 will not more supported on the controller host
Here is a playbook for understanding the Ansible test with variables types
By default psql write the last 500 commands in the ~/.psql_history file, if like me you want to have a more precise information of who, when and where psql was used, here is a psql_history file setup.
Jinja2 templating with Ansible is powerfull and sometimes you could have some headache for positionning the result just where you want to respect a configuration file syntax. Following, I will show you how to manage the whitespace control with Jinja2
So you have a list with a number of item which are the /data* path where you want to put your hadoop hdfs data and you want to add after each item the end of the path mount point, here is a solution.