Thanks Brad Van Orden for your reply.

Sorry I didn't get, what are you trying to say.

Could you please explore it, so that I can resolve the issue.

On Friday, 26 October 2018 16:18:19 UTC+5:30, Brad Van Orden wrote:
>
> Not sure putting such information in some version control system is the 
> wisest, but if you do have it under version control of some type, the 
> version control mechanism should be able to tell if it has been updated.  
> You would then just have to have ansible run the version control command to 
> check if an update was made, then run the update if required.
>
> On Friday, October 26, 2018 at 3:39:16 AM UTC-4, SUMIT SAHAY wrote:
>>
>>
>> Thanks Jonathan for your reply.
>> But it is part of the use case, I am trying to achieve it.
>>
>> Is there way to achieve it.
>>
>> Regards
>> Sumit Sahay
>> 7044112109
>>
>> On Wednesday, 24 October 2018 17:16:19 UTC+5:30, Jonathan Lozada De La 
>> Matta wrote:
>>>
>>> That just seems like bad practice. I wouldn't recommend this.
>>>
>>> On Wed, Oct 24, 2018 at 2:44 AM SUMIT SAHAY <[email protected]> 
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have one use case where if the new user is created in the server then 
>>>> ansible playbook update the file /etc/passwd and /etc/shadow file in 
>>>> version control.
>>>>
>>>> The ansible script check the difference and update the version control 
>>>> with the latest copy of both the file.
>>>>
>>>> Looking forward for reply.
>>>>
>>>>
>>>> Regards
>>>> Sumit Sahay
>>>> 7044112109
>>>>
>>>> -- 
>>>> 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 post to this group, send email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/ansible-project/42d19931-641b-430a-b79f-5a763b947a3e%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/ansible-project/42d19931-641b-430a-b79f-5a763b947a3e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>>
>>> Jonathan lozada de la matta
>>>
>>> AUTOMATION PRACTICE
>>>
>>>
>>>  
>>>
>>>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7788c02f-de11-4f74-9679-760f9a31b2a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to