From d7210d4d4ec8fe765fefd1552567b20481f7e198 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr>
Date: Wed, 25 Jul 2018 10:35:14 +0200
Subject: [PATCH] ansible postgresql wip

add debug in deploy.yaml for failing pg_hba.conf file

Former-commit-id: b8e72cba9421047cfa3320815372e7218b1214d4
---
 ansible/deploy.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml
index d4231451..4d2b8fb3 100644
--- a/ansible/deploy.yaml
+++ b/ansible/deploy.yaml
@@ -69,6 +69,13 @@
         regexp='^#?listen_addresses\s*='
         line="listen_addresses = '*'"
         state=present
+    - name: Ansible find file examples
+      find:
+        paths: /home/{{ deploy_user_name }}/iPPIDB/ansible
+        patterns: "*"
+        register: files_matched
+    - debug:
+        msg: "{{ files_matched.files }}"
     - name: copy pg_hba.conf file
       copy: 
         remote_src: true
-- 
GitLab