Hello.
I´m trying to run an AWX template with reboot command in playbook but it´s not working.
- name: restart server
hosts: all
gather_facts: false
tasks:
- name: restart server
reboot:
---------------------------
When I run the template I receive the following error:
[WARNING]: Failure using method (v2_runner_on_failed) in callback plugin (<ansible.plugins.callback.awx_display.CallbackModule object at
0x7f1314af9d10>): datetime.datetime(2019, 8, 13, 13, 47, 35, 668160) is not JSON serializable
I think it´s a bug but I´m not sure.
This error happen only when I run it inside the AWX. If I run it using a command line (ansible-playbook) the playbook run without erros.
Any idea?
Thank you very much.
Ansible version: 2.8.2
Awx version: 6.1.0.0
Marcelo