Guest User

Untitled

a guest
May 21st, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. # requires ansible 2.4
  2. # usage:
  3. # ansible-playbook playbook.yml -i 192.168.1.254,
  4.  
  5. - hosts: all
  6. gather_facts: false
  7. tasks:
  8. # ansible 2.4 telnet plugin does not add \r
  9. # and the router requires it so...
  10. - name: disable ipv6 in meo router
  11. telnet:
  12. # the default login
  13. user: "sumeo\r"
  14. password: "bfd,10ng\r"
  15. login_prompt: "Username : "
  16. password_prompt: "Password : "
  17. prompts:
  18. - "{sumeo}=>"
  19. command:
  20. - "dhcp serverv6 config state=disabled\r"
  21. - "ip ifconfig intf=LocalNetwork ipv6=disabled\r"
  22. - "saveall\r"
Add Comment
Please, Sign In to add comment