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]> 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]. > 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEcFzYx_%3DoPyP9uYh0OwacTCW3E9OUNG9J%3DT6Uw3-K%2BRezaT4Q%40mail.gmail.com.
