ansible-collections/community.postgresql
Copy data to/from Ansible host
Offen
#218 geöffnet am 28.03.2022
help wanted
Repository-Metriken
- Stars
- (142 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 13T 5h) (3 gemergte PRs in 30 T)
Beschreibung
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_toshould be allowed relative and be searched in./filesfolder. - An extra parameter should describe, whether to store the file on the database host (requires administrator rights) or local at the Ansible host.