Never mind - I had a typo that was leading to a not-helpful error message.

Thanks,

Rob


On Thursday, May 7, 2020 at 10:34:53 AM UTC-6, Robert Wagner wrote:
>
> Hi all. Wondering if somebody can point me in the right direction - Google 
> has led me on bit of a wild goose chase.
>
> I'm using ansible 2.9.6 on CentOS 7.7. 
>
> I have some vaulted vars that if I put in vars/main.yml work fine. If I 
> move the same vars to another file and include it (include_vars: 
> myfile.yml) , the play that uses them bombs.
>
> [WARNING]: Failure using method (v2_runner_on_ok) in callback plugin 
> (<ansible.plugins.callback.foreman.CallbackModule object at 
> 0x7ff965ec6a10>): u
> Errror "'myvar' is not JSON serializable".
>
> I'm reading it closer now that I've pasted it here that it does mention 
> foreman's CallbackModule in the error, but not sure if the issue is 
> introduced by Foreman running the playbook.
>
> Any advice would be appreciated,
>
> Rob
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8bc1b8cc-7480-42ae-8b72-f10303af0131%40googlegroups.com.

Reply via email to