Thank for reply.

To explain you the context. Currently we have an excel file when we put ALL 
configuration of both server (prod and test).
Here an example of parameters we compare for an apache server :

[image: apache_dmz.PNG]


[image: me_dmz.PNG]


Le vendredi 15 février 2019 12:10:21 UTC+1, Sudheer S a écrit :
>
>
> On 15/02/19 4:28 PM, Yacine Mourchid wrote:
>
>
> I'm a beginner with Ansible.
> I wanna know how to check if configuration of test server and prod are 
> same or if there is a difference.
> And if it's possible, how to know what is the difference between them.
>
> I've several server to check.
>
> You have to provide more details than the abstract requirement.
>
> What configuration do you want to check exactly? Is the configuration 
> stored in some file, database, etc? 
>
> Looks like you might want to run a diff against two configuration files. 
>
> Having said that, you might want to consider this:
>
> Use Ansible to generate configuration and deploy to the target servers. 
> Manage the differences of environments(prod and test) in inventories. That 
> way you don't have to compare the configuration manually. 
> -- 
>
> Sudheer Satyanarayana
> IT Consultant 
>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/689da2be-d69e-4297-bd58-d602adba97b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to