Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Automate proxmox-drbd9 installation with ansible

Notifications You must be signed in to change notification settings

MrCirca/ansible-drbd-proxmox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxmox - DRBD9 Ansible Playbook

It's a playbook that automates Proxmox and DRBD9 installation with Ansible on two or more nodes. The two roles of playbook follow the official documentation of DRBD9 and Proxmox.

In group_vars folder, you can set a disk( /dev/sdX) or a list of disks which are the physical volumes of volume group.

---
drbd_disks:
  - /dev/vdx
  - /dev/vdy

The execution of playbook is:

ansible-playbook -u your_user main.yml -e target=name_of_prefix_you_gave_in_inventory -e drbd_volume_size=number_of_Gigabytes

Note: This installation is compatible for Proxmox 4.4. DRBD9 works with Proxmox5. For Proxmox5 use drbd_init5.yml task.

Releases

No releases published

Packages

No packages published

Languages