[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
PLAY [test-host] **********************************************************************************************************************************************************
PLAY RECAP ***************************************************************************************************************************************************************
test-host : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
so the debug task is either ignored, or had its output suppressed. please, help me make sense of ansible’s behavior and try to figure out which settings could have influenced it.
DEFAULT_STDOUT_CALLBACK was the reason, I’ve set it up a while ago to suppress the excrutiating amount of output and then forgot about it. thank you very much for your help.
воскресенье, 19 июня 2022 г. в 21:35:11 UTC+5, uto...@gmail.com:
The message is a bit misleading, it is not matching a host so it tries
to match a group (since hosts: allows for host patterns which can
include both), but then it sees the '-' and gives you the message
about invalid groups.