ansible-collections/community.postgresql

Copy data to/from Ansible host

开放

#218 创建于 2022年3月28日

 (2 条评论) (0 个反应) (0 位负责人)Python (116 个派生)auto 404
help wanted

仓库指标

星标
 (142 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

SUMMARY

Like \copy in psql, it would be nice to copy the data to/from the ansible_host instead of the PostgreSQL server. In psql afaik this is achieved using STDOUT / STDIN and redirection.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

Module postgresql_copy.

ADDITIONAL INFORMATION
  • Paths used in copy_from / copy_to should be allowed relative and be searched in ./files folder.
  • An extra parameter should describe, whether to store the file on the database host (requires administrator rights) or local at the Ansible host.

贡献者指南