in constants.py:
VARIABLE_PRECEDENCE = get_config(p, DEFAULTS, 'precedence',
'ANSIBLE_PRECEDENCE',
['all_inventory', 'groups_inventory', 'all_plugins_inventory',
'all_plugins_play', 'groups_plugins_inventory',
'groups_plugins_play'], value_type='list')
Which would allow you to switch the group vars precedence, the above
list is the default and matches the current docs.
On Tue, May 23, 2017 at 10:12 AM, Szabolcs Póta <
szabol...@gmail.com> wrote:
> Hi Brian,
>
> Thank you for the answer. I have read through your inventory plugin proposal
> JIRA, PR and docs but cannot see where precedence can actually be
> configured. I see that inventory types are now nicely refactored to be
> handled by plugins and that they can be enabled or disabled but can't see
> where precedence is set.
>
> Could you please give me the necessary config option? (The above links do
> redirect me and the pages jump around so probably pasting here directly is
> better). What I would like is to have INI with higher precedence than
> group_vars relative to inventory files.
>
> Thanks,
>
> Szabolcs
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
ansible-deve...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
----------
Brian Coca