Subject: [ansible-project] Fetching file from remote server to github repository using Ansible script


By the (limited) amount of information it looks like you want to
commit something.
The git module (https://docs.ansible.com/ansible/latest/modules/git_module.html)
is targeted toward checking out repos, not committing to them.
So I assume you'd have to structure it something like this:

1. use the git module to checkout your repo
2. use the get_url module to retrieve your file and save it in your repo
3. use the command or shell module to add the file and commit

-

On 4 July 2018 at 13:53, Pradeep Drall <[EMAIL PROTECTED]> wrote:

--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT
T: +31205304488
M: +31622698108
PGP key fingerprint: F575 58C6 62C6 FD5B A9CD 217C 2667 13D4 E6EF 488D

GÉANT Vereniging (Association) is registered with the Chamber of
Commerce in Amsterdam with registration number 40535155 and operates
in the UK as a branch of GÉANT Vereniging. Registered office:
Hoekenrode 3, 1102 BR Amsterdam, The Netherlands. UK branch address:
City House, 126-130 Hills Road, Cambridge CB2 1PQ, UK.
Want to join us? We're hiring: https://www.geant.org/jobs

--
To post to this group, send email to [EMAIL PROTECTED].