Created
May 16, 2018 13:44
-
-
Save fopina/95620ac28658968f058755782e65a7c6 to your computer and use it in GitHub Desktop.
Disable IPv6 in MEO Router ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires ansible 2.4 | |
# usage: | |
# ansible-playbook playbook.yml -i 192.168.1.254, | |
- hosts: all | |
gather_facts: false | |
tasks: | |
# ansible 2.4 telnet plugin does not add \r | |
# and the router requires it so... | |
- name: disable ipv6 in meo router | |
telnet: | |
# the default login | |
user: "sumeo\r" | |
password: "bfd,10ng\r" | |
login_prompt: "Username : " | |
password_prompt: "Password : " | |
prompts: | |
- "{sumeo}=>" | |
command: | |
- "dhcp serverv6 config state=disabled\r" | |
- "ip ifconfig intf=LocalNetwork ipv6=disabled\r" | |
- "saveall\r" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment