10 lines
		
	
	
	
		
			372 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			372 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
- name: write config
 | 
						|
  ansible.netcommon.cli_command:
 | 
						|
    command: "copy running-config startup-config"
 | 
						|
    prompt:
 | 
						|
      - "Destination filename startup-config\\? \\[y/n\\]: " # d-link
 | 
						|
      - "Do you want to overwrite \\[/data/config.text\\]\\? \\[Y/N\\]:" # fs
 | 
						|
    answer:
 | 
						|
      - "y"
 | 
						|
      - "y"
 | 
						|
  when: "not ansible_check_mode and 'handler' not in ansible_skip_tags"
 |