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/bb5cc1ad-94eb-456a-bde1-54ffa2fd12bc%40googlegroups.com.

Reply via email to