I would suggest fixing the actual problem with accessing the git repo


On Fri, 7 Oct 2022 at 12:55, dulhaver via Ansible Project <
ansible-project@googlegroups.com> wrote:

> we have trouble at times to access a git repository with config files
> directly from an ansible host.
>
> As workaround we *get_url* the file to the ansible controler
> (delegate_to: localhost) and then *copy* it to the remote target in a
> second TASK.
>
> There has been some hassle with git tracking those temporary files and we
> want to gitignore them in the future. Is there any common procedure or best
> practice for such a scenario?
> The first idea we came up with was to add a .temp directory inside the
> ansible folder and gitignore it's contents.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/609224536.35138.1665140087677%40office.mailbox.org
> <https://groups.google.com/d/msgid/ansible-project/609224536.35138.1665140087677%40office.mailbox.org?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from Gmail Mobile

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLY-YdLGL9ambz9dktrJYWmKkL%3DHJHmpc_PeN5TrPvR-uQ%40mail.gmail.com.

Reply via email to