title: Router configuration push error using ansible
body: <p>I create a playbook to restore my router backup using ansible, but it didn't work properly.</p>
  <pre class="lang-yaml prettyprint-override"><code>---
  - hosts: CR01
  connection: network_cli
  gather_facts: false
  
  tasks:
  - name: push config file
    ios_config:
      src: &quot;home/yugan/desktop/backup/config/CR1.cfg&quot;
  
  - name: save running to startup
    ios_config:
      save_when: modified
  </code></pre>
  <p><a href="https://i.stack.imgur.com/mb1wD.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mb1wD.jpg" alt="enter image description here" /></a></p>