Re: [ansible-project] Regarding file changes in Ansible

2023-11-17 Thread Ashok Reddy
Thanks Stephen. Let me take a look. On Fri, 17 Nov 2023 at 6:32 PM, Stephen Maher wrote: > Hi Ashok > > What you need is some sort of orchestrator or you can use gitlab CI and > runner to execute ansible / ansible-navigator / ansible-runner etc etc . > Another option that I have implemented in

Re: [ansible-project] Regarding file changes in Ansible

2023-11-17 Thread Stephen Maher
Hi Ashok What you need is some sort of orchestrator or you can use gitlab CI and runner to execute ansible / ansible-navigator / ansible-runner etc etc . Another option that I have implemented in the past for customers is using ansible-pull from the ansible controller and execute plays

Re: [ansible-project] Regarding file changes in Ansible

2023-11-16 Thread Ashok Reddy
Hi Todd, Thanks for providing your suggestion. But, There are a few of the templates, which are available in gitlab. If there is any change in the template file, then only to deploy in UAT servers. This is what i am trying to implement. Is this not possible to implement in Ansible side? Note: i

Re: [ansible-project] Regarding file changes in Ansible

2023-11-16 Thread Todd Lewis
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 index document. They should give you

Re: [ansible-project] Regarding file changes in Ansible

2023-11-16 Thread Ashok Reddy
Hi , Please find the following: On Thu, 16 Nov 2023 at 10:04 PM, Dick Visser 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

Re: [ansible-project] Regarding file changes in Ansible

2023-11-16 Thread 'Rowe, Walter P. (Fed)' via Ansible Project
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 wrote: Honestly

Re: [ansible-project] Regarding file changes in Ansible

2023-11-16 Thread Evan Hisey
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 wrote: > Hi, > > I have been trying to implement the following: > > If any file change in git lab repo, then

Re: [ansible-project] Regarding file changes in Ansible

2023-11-16 Thread Dick Visser
that is very little information... answers to these would help: - what is in that gitlab repository? - what is "the file" - what are "servers" - what does your inventory look like? etc etc On Thu, 16 Nov 2023 at 14:47, Ashok Reddy wrote: > Hi, > > I have been trying to implement the

[ansible-project] Regarding file changes in Ansible

2023-11-16 Thread Ashok Reddy
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