Comprehensive data protection for all workloads
Post Reply
markhensler
Service Provider
Posts: 44
Liked: 4 times
Joined: Mar 10, 2015 6:16 pm
Full Name: Mark Hensler
Contact:

Ansible PlayBooks

Post by markhensler »

There doesn't seem to be much on GitHub. I'm hoping some folks would be willing to share their playbooks here.

In the Jun 3rd newsletter, Gostev mentioned that Veeam had some complex Ansible automation built out. I would love to see this made available to the public.
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Ansible PlayBooks

Post by Gostev » 2 people like this post

I did get some requests so now someone is cleaning up the code to remove customer-specific stuff, as soon as that is done we will publish them!
GrahamS
Lurker
Posts: 2
Liked: never
Joined: Jan 23, 2017 12:26 am
Full Name: Graham Smithers
Contact:

Re: Ansible PlayBooks

Post by GrahamS »

Was there any output from this?
schlbra
Lurker
Posts: 1
Liked: never
Joined: Oct 04, 2018 8:27 pm
Full Name: Brad Schlicht

Re: Ansible PlayBooks

Post by schlbra »

I haven't seen anything on github. I was going to write my own playbooks using the URI module and the Veeam API, however, it doesn't seem like the API has full functionality. It looks like I will have to resort to writing a custom ansible module in Powershell if I want to leverage ansible for automating Veeam.
MichaelCade
Veeam Software
Posts: 315
Liked: 74 times
Joined: Mar 23, 2015 11:55 am
Full Name: Michael Cade
Location: Cambridge, United Kingdom
Contact:

Re: Ansible PlayBooks

Post by MichaelCade »

Can I ask why Ansible is the configuration management tool of choice?

I have been working on a CHEF cookbook that is now published and available. The reason why we chose CHEF was based on better supportability for Windows. The majority of Veeam servers live on windows so that’s why we went that way.

Also what tasks are you looking to automate with Ansible?
Regards,

Michael Cade
Global Technologist
Veeam Software
Email: Michael.Cade@Veeam.com
Twitter: @MichaelCade1
markhensler
Service Provider
Posts: 44
Liked: 4 times
Joined: Mar 10, 2015 6:16 pm
Full Name: Mark Hensler
Contact:

Re: Ansible PlayBooks

Post by markhensler »

Regarding CHEF vs Ansible. For me, I already have Anisble deployed. I would rather not stand up another configuration management tool. I'm looking to add backup management to my existing Ansible structure.

I don't recall seeing anything released from Veeam regarding Ansible. Did I just miss it? Or, has this not yet been released?
nielsengelen
Product Manager
Posts: 5797
Liked: 1215 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Ansible PlayBooks

Post by nielsengelen »

Correct, currently the ansible part hasn’t been released yet.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
sandsturm
Veteran
Posts: 291
Liked: 25 times
Joined: Mar 23, 2015 8:30 am
Contact:

Re: Ansible PlayBooks

Post by sandsturm » 1 person likes this post

Is there a status update concerning Ansible playbooks to automate Veeam? I'm also interested in this topic. The current main reason is the deployment of Linux agents, but if other topics like creating new backup jobs, check if the configuration of backup jobs is correct, adding vsphere tags to a VM etc are covered already, I don't have to do it by myself.

thx
sandsturm
MichaelCade
Veeam Software
Posts: 315
Liked: 74 times
Joined: Mar 23, 2015 11:55 am
Full Name: Michael Cade
Location: Cambridge, United Kingdom
Contact:

Re: Ansible PlayBooks

Post by MichaelCade » 2 people like this post

Sandsturm,

The ability to use Ansible to Install and Configure Veeam Agent for linux on Debian and CentOS. https://github.com/sbaerlocher/ansible.veeam-agent this has not been created by Veeam but by https://twitter.com/sbaerlocher

Also one of our Veeam Vanguards has also created a playbook for the Veeam Backup & Replication unattended installation, and I believe he has further plans here to add other functionality - https://mycloudrevolution.com/en/2019/0 ... h-ansible/

Markus details can be found here as well as on his site. Again this Ansible Playbook was not created by Veeam. https://twitter.com/vMarkus_K/
Regards,

Michael Cade
Global Technologist
Veeam Software
Email: Michael.Cade@Veeam.com
Twitter: @MichaelCade1
Markus.K1985
Expert
Posts: 103
Liked: 28 times
Joined: Dec 08, 2014 2:30 pm
Full Name: Markus Kraus
Contact:

Re: Ansible PlayBooks

Post by Markus.K1985 » 1 person likes this post

Hi,

Thanks for sharing my blog post Michael! Another post about Veeam Ansible modules for deeper integration is almost ready for publication.

In the meantime you can check the GitHub repo:
https://github.com/mycloudrevolution/Anisble-Veeam
Markus.K1985
Expert
Posts: 103
Liked: 28 times
Joined: Dec 08, 2014 2:30 pm
Full Name: Markus Kraus
Contact:

Re: Ansible PlayBooks

Post by Markus.K1985 » 3 people like this post

Blog post is published.

Ansible Veeam Modules Preview
https://mycloudrevolution.com/en/2019/0 ... s-preview/
christian.naenny
Enthusiast
Posts: 40
Liked: 13 times
Joined: Apr 08, 2015 11:52 am
Full Name: Christian Naenny
Location: Zurich, Switzerland
Contact:

Re: Ansible PlayBooks

Post by christian.naenny »

To get this ball rolling again after almost 3 years... ;-)

We're starting a relatively big IT Continuity Management Restore project right now, where we're going to automate the restore of many many systems from Backup in the aftermath of a disaster.
The whole restore process will be orchestrated by Ansible as we also have AIX LPARS on POWER and physical Windows boxes to be restored.
As most of the infrastructure is now virtualized, a good part of the restores are going to be VM restores from our Veeam infrastructure.
Has anyone already written some Ansible modules for such a case (restores of lots and lots of VMs in the shortest amount of time)?
If not, there is a good chance that we will be writing those modules and maybe share them via Ansible Automation Hub and most likely Ansible Galaxy.
Markus.K1985
Expert
Posts: 103
Liked: 28 times
Joined: Dec 08, 2014 2:30 pm
Full Name: Markus Kraus
Contact:

Re: Ansible PlayBooks

Post by Markus.K1985 »

Hi Christian,

Sounds like an interesting project. I look forward to your contribution to the community. Do you plan to leverage the Veeam Ent. Manager API or directly access VBR server?

However, my experience shows that in such a case it is better to rely on a solution like VBO or VMware SRM. What is your DR location?
Post Reply

Who is online

Users browsing this forum: AdsBot [Google], Google [Bot], Semrush [Bot] and 98 guests