---
- hosts: Router
 gather_facts: true
 connection: local
 tasks:
 - name: show run
 ios_command:
 commands:
 - show run
 register: config
 - name: Ausgabe nach /etc/ansible/backups
 copy:
 content: "{{config.stdout[0]}}"
 dest: "/etc/ansible/backups/show_run_{{inventory_hostname}}.txt"