Hi guenter,
On Thu, 2020-08-20 at 12:55 +0200, dev wrote:
hello everybody,
Since a wile I do have a weird behavior, that some group assignments
are not executed.
mainly I recognized these with apt_install and resources.
today I had the time to debug and moved them out of the way, and
back one by one.
after 3 resources, no all definitions got executed (mostly commands)
any more.
It sounds like one group variable is overriding the other. I know of
two ways to solve that:
1. Arrange your inventory variables in such a way that this doesn't
happen.
2. Change Ansible's hash_behaviour to merge variables instead of
overriding them. I haven't tried this though, it might very well mess
everything up (and the Ansible documentation recommends against
changing it). But if you want to give it a try, add "hash_behaviour =
merge" to the [ansible defaults] section in .debops.cfg.
Let's see if option #1 works for you. You can also post the relevant
inventory variables to the mailing list so that we can have a look.
Imre
I did a yamllint & beautification – without any change. I
ignored
the error with linelength > 80, since they don't seem to make any
difference
I remember dark, that years ago there was something like a max. limit
in which a host could only be member in 3 groups.
is that still the case? why? and can that be changed, it's a too big
restriction.
if not, any suggestions how I could debug this?
TIA
guenter