---
- name: Backup show run 
  hosts: all
  gather_facts: false

  tasks:
    - name: show run 
      ios_command:
        commands:
          - show run

      register: print_output

    -  name: show run output
       debug: 
         msg: ""

    - name: save output to a file
      copy: content="" dest="./configuration/backup/.txt"
