Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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"
Add Comment
Please, Sign In to add comment