Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy data to/from Ansible host #218

Open
alehaa opened this issue Mar 28, 2022 · 2 comments
Open

Copy data to/from Ansible host #218

alehaa opened this issue Mar 28, 2022 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@alehaa
Copy link

alehaa commented Mar 28, 2022

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.
@alehaa
Copy link
Author

alehaa commented Mar 28, 2022

It would be cool to see this feature for other modules using files (e.g. postgresql_db) too.

@Andersson007
Copy link
Collaborator

Andersson007 commented Mar 31, 2022

@alehaa hi, thanks for the feedback! I'll put labels that the issue is vacant for review and implementation (if there's a consensus among reviewers)

@Andersson007 Andersson007 added the help wanted Extra attention is needed label Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants