ansible-collections/community.postgresql

Copy data to/from Ansible host

Ouverte

#218 ouverte le 28 mars 2022

 (2 commentaires) (0 réaction) (0 personne assignée)Python (116 forks)auto 404
help wanted

Métriques du dépôt

Stars
 (142 étoiles)
Métriques de merge PR
 (Merge moyen 13j 5h) (3 PRs mergées en 30 j)

Description

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.

Guide contributeur