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