ansible-collections/community.postgresql

Copy data to/from Ansible host

Aperta

#218 aperta il 28 mar 2022

 (2 commenti) (0 reazioni) (0 assegnatari)Python (116 fork)auto 404
help wanted

Metriche repository

Star
 (142 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor