Ashok,

As a gitlab and Ansible user, this sounds to me like more of a gitlab problem than an Ansible problem.

You should follow and read the first few links at the top of Gitlab CI Keyword Reference <https://gitlab.freedesktop.org/help/ci/yaml/index.md> index document. They should give you some ideas about how to make things happen when commits are made to your projects.

Good luck,
--
Todd

On 11/16/23 7:29 PM, Ashok Reddy wrote:
Hi ,

Please find the following:

On Thu, 16 Nov 2023 at 10:04 PM, Dick Visser <[email protected]> wrote:

    that is very little information...

    answers to these would help:

    - what is in that gitlab repository? configuration files, which
    are required to access our application
    - what is "the file": like EAxI config file, jboss standalone file
    - what are "servers":RHEL servers
    - what does your inventory look like?: SIT, UAT envs


Each environment has two servers


    etc etc


Please let me know if you need any other information.



    On Thu, 16 Nov 2023 at 14:47, 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/CAF8BbLbMHnmt3Fzb1N1oCG-avKjQZzbKspB%2BZJwQzJRJncgZMg%40mail.gmail.com
    
<https://groups.google.com/d/msgid/ansible-project/CAF8BbLbMHnmt3Fzb1N1oCG-avKjQZzbKspB%2BZJwQzJRJncgZMg%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/CAKRLcHhi7JYyzXrK3-7Z0%2BPg5iU16kmW6RHnh1dp7VKHd_tqHA%40mail.gmail.com <https://groups.google.com/d/msgid/ansible-project/CAKRLcHhi7JYyzXrK3-7Z0%2BPg5iU16kmW6RHnh1dp7VKHd_tqHA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
Todd

--
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/a15a4d78-3e30-4228-8dd7-7e947ba69289%40gmail.com.

Reply via email to