'dict object' has no attribute 'stdout' in Ansible ...
https://stackoverflow.com/questions/5391497524.12.2018 · An inspection of - debug: var=vault_contents will show you that when used with a looping construct such as with_items:, the register variable has a list called results containing the outcomes for each iteration of the loop. This is also documented in the fine manual.. So, what you want is likely: - debug: msg: "JBoss config {{ item.item }} does not contain the word vault" when: …