diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml index 4d2b8fb36ce757f4265d559bea50bb8ebabd307f..23fdcc334f3c921f45f506c8962f02cb77875608 100644 --- a/ansible/deploy.yaml +++ b/ansible/deploy.yaml @@ -69,13 +69,10 @@ 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 }}" + - command: "ls /home/{{ deploy_user_name }}/iPPIDB/ansible/" + register: dir_out + - debug: var={{item}} + with_items: dir_out.stdout_lines - name: copy pg_hba.conf file copy: remote_src: true