- hosts: localhost
tasks:
- inline_python:
args:
foo: 1
bar: 2
script: |
exit_json(changed=True, result=foo+bar)