Backup Config on Mikrotik RouterOS - Ansible Network community.routeros



How to automate network device configuration backup for Mikrotik RouterOS network appliances connecting via SSH protocol using the username and password credentials and save it to a file using Ansible Network community.routeros collection.
https://www.ansiblepilot.com/articles/backup-config-on-mikrotik-routeros-ansible-network-community.routeros/

Learn Ansible in the course by 150+ examples:
https://courses.ansiblepilot.com/ansiblebyexamples

FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress – http://eepurl.com/hJv3j9

PRE-ORDER my BOOK: Ansible by Examples
100+ Automation Examples For Linux and Windows System Administrator and DevOps
https://www.ansiblepilot.com/book/

My Book reading list:
https://amzn.to/3dqgs8W How to Think More Effectively: A guide to greater productivity, insight and creativity by The School of Life
https://amzn.to/3xZ26Wm How to Make People Like You in 90 Seconds or Less by Nicholas Boothman
https://amzn.to/3Dv1ysG The Happiness Project by Gretchen Rubin
https://amzn.to/3rDEV2X Vindication: A Life of Mary Wollstonecraft by Lyndall Gordon
https://amzn.to/3EvEmfa The Contrarian: Peter Thiel and Silicon Valley’s Pursuit of Power by Max Chafkin
https://amzn.to/3lvg7pI 13 Things Mentally Strong People Don’t Do: Take Back Your Power, Embrace Change, Face Your Fears, and Train Your Brain for Happiness and Success by Amy Morin
https://amzn.to/3dgYXaU The 1% Rule: How to Fall in Love with the Process and Achieve Your Wildest Dreams by Tommy Baker
https://amzn.to/3lxknFw Man’s Search for Meaning by Viktor E. Frankl
https://amzn.to/3ohsfN1 Animal, Vegetable, Miracle – Tenth Anniversary Edition: A Year of Food Life by Barbara Kingsolver
https://amzn.to/3Go1sFd Not Nice: Stop People Pleasing, Staying Silent, & Feeling Guilty… And Start Speaking up, Saying No, Asking Boldly, and Unapologetically Being Yourself by Dr. Aziz Gazipura PsyD
https://amzn.to/3IesY9F How the Word Is Passed: A Reckoning with the History of Slavery Across America by Clint Smith
https://amzn.to/31fK9qN The Art Of War by Sun Tzu
https://amzn.to/3Ec7Sq0 Unlimited Memory: How to Use Advanced Learning Strategies to Learn Faster, Remember More and Be More Productive by Kevin Horsley
https://amzn.to/3rnQCdN Driving Performance through Learning: Develop Employees through Effective Workplace Learning by Andy Lancaster
https://amzn.to/3d7yvjZ The 4-Hour Body: An Uncommon Guide to Rapid Fat-Loss, Incredible Sex, and Becoming Superhuman by Timothy Ferriss
https://amzn.to/31mltN7 Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones by James Clear
https://amzn.to/3liF4VD The Power of Now: A Guide to Spiritual Enlightenment by Eckhart Tolle
https://amzn.to/3rjAXwj The Power of Pressure: Why Pressure Isn’t the Problem, It’s the Solution by Dane Jensen
https://amzn.to/3pckA1S The More of Less by Joshua Becker
https://amzn.to/3DgwUTT Rich Dad Poor Dad: 20th Anniversary Edition: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not! by Robert T. Kiyosaki
https://amzn.to/3o1HhpY Antifragile: Things That Gain from Disorder by Nassim Nicholas Taleb
https://amzn.to/316c0tA How to Talk to Anyone: 92 Little Tricks for Big Success in Relationships by Leil Lowndes
https://amzn.to/3FVfm18 The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life by Mark Manson

source

2 thoughts on “Backup Config on Mikrotik RouterOS – Ansible Network community.routeros”
  1. I am getting an error
    (fatal: [x.x.x.x -> localhost]: FAILED! => {"changed": true, "cmd": "sshpass -p 220 'X' ssh -o StrictHostkeyChecking=no U@x.x.x.x /export", "delta": "0:00:00.010744", "end": "2022-05-18 11:24:36.594021", "msg": "non-zero return code", "rc": 3, "start": "2022-05-18 11:24:36.583277", "stderr": "sshpass: Failed to run command: No such file or directory", "stderr_lines": ["sshpass: Failed to run command: No such file or directory"], "stdout": "", "stdout_lines": []})

    dont mind x replaced the IP with it.

    Should I changing something in the inventory_hostname ?

    I am New to ansible.

    Running on Ubuntu 20.04

Leave a Reply

Your email address will not be published.

Captcha loading...