Python V2 & V3 Compliant

---
- hosts: prod
  gather_facts: false
  connection: local

  tasks:
   - name: Show Device Interfaces
     ios_command:
       commands:
         - show ip int bri
     register: out
   - name: Save Info 
     copy: 
      content: "{{ out.stdout[0] }}"
      dest: "/home/dm/Downloads/sh_int-{{ inventory_hostname }}.txt"