Home > OS >  Priority on duplicated variable on host_var and group_var
Priority on duplicated variable on host_var and group_var

Time:10-16

Ansible: 2.4.9

I have a duplicated var "office_suite", one in host_var file "office_suite: msoffice" and in group_var "office_suite: openoffice".

Which one of these are selected on install?

Thanks again.

CodePudding user response:

First, Thank's a lot @U880D for this link: Understanding variable precedence

"host_var" override a "group_var" as per the list in the link.

But this is false for my, my "group_vars" override "host_vars".

Cordially

  • Related