Short output from playbook like ansible -o

Please suggest how can get one liner o/p eg what i get with ansible temp -b -a uptime -o , in below playbook

  • hosts: all
    gather_facts: true
    tasks:
  • debug:
    var: ansible_all_ipv4_addresses