I agree. This is a version control system action. That action could run an 
ansible playbook to push the changed file to an inventory of systems.

Walter
--
Walter Rowe, Division Chief
Infrastructure Services, OISM
Mobile: 202.355.4123

On Nov 16, 2023, at 11:09 AM, Evan Hisey <[email protected]> wrote:

Honestly sounds less like an ansible task and more like a git action or git 
runner job. Ansible natively has no idea what is in the git repo.

On Thu, Nov 16, 2023 at 7:47 AM Ashok Reddy 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I have been trying to implement the following:

If any file change in git lab repo, then only we need to deploy the file in 
servers.

How to write Ansible playbook?

--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKRLcHhXSrJSoAdd6toBHt9Bh8CsF%2B92T5Ga%3DTEvrzhwKQG9sw%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CAKRLcHhXSrJSoAdd6toBHt9Bh8CsF%2B92T5Ga%3DTEvrzhwKQG9sw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEcFzYx_%3DoPyP9uYh0OwacTCW3E9OUNG9J%3DT6Uw3-K%2BRezaT4Q%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CAEcFzYx_%3DoPyP9uYh0OwacTCW3E9OUNG9J%3DT6Uw3-K%2BRezaT4Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/E1543712-496E-40BB-AC75-A1AD9587F6E7%40nist.gov.

Reply via email to