jetune.heketi

Ansible Role for Heketi on Linux

Python Licence Travis Build Galaxy Role Downloads

This Ansible role helps you install Heketi on Linux-based systems.

Supported Version

  • Heketi 7 or higher

Supported Operating Systems

  • CentOS 6/7
  • RedHat 6/7
  • Ubuntu Xenial/Bionic

How to Use

  • To install the role, run: ansible-galaxy install jetune.heketi
  • Use the role in your playbook like this:
---
- hosts: all

  roles:
   
   - role: jetune.heketi
     vars:
      heketi_install: true
      heketi_install_from_repo: false
      heketi_install_arch: "amd64"
      heketi_install_version: "9.0.0"
      heketi_install_dir: "/etc/sds/heketi"
      heketi_install_client_dir: "/etc/sds/heketi-client"
      heketi_install_command_link: "/usr/bin/heketi"
      heketi_configure: true
      heketi_config_dir: "/appli/hkt/param/conf"
      heketi_config_client_dir: "/appli/hkt/param/conf"
      heketi_config_filename: "heketi.json"
      heketi_config_client_filename: "heketi-client.json"
      heketi_node_executor: "ssh"
      heketi_service_unit_description: "SDS Provisioning Server [Heketi]"
      heketi_service_working_dir: "/appli/hkt/var/lib"
      heketi_service_user: "root"
      heketi_service_pid_file: "/var/run/heketi.pid"
      heketi_node_source_ssh_keyfile: "keys/heketi_rsa"
      heketi_node_ssh_keyfile: "/etc/ssh/heketi_rsa"
      heketi_node_ssh_user: "root"
      heketi_node_ssh_command_sudo: false
      heketi_node_xfs_sw: 10
      heketi_node_xfs_su: 10
      heketi_node_brick_max_size_gb: 1024
      heketi_node_brick_min_size_gb: 1
      heketi_node_max_bricks_per_volume: 33
      heketi_config_topology_nodes:
       - zone: 1
         manage_host_names:
          - "192.168.1.1"
         storage_host_names:
          - "172.16.1.1"
         devices:
          - name: "/dev/sdb"
            destroydata: false
       - zone: 2
         manage_host_names:
          - "192.168.1.2"
         storage_host_names:
          - "172.16.1.2"
         devices:
          - name: "/dev/sdb"
            destroydata: false
       - zone: 3
         manage_host_names:
          - "192.168.1.3"
         storage_host_names:
          - "172.16.1.3"
         devices:
          - name: "/dev/sdb"
            destroydata: false

This is an easy way to get Heketi set up on your Linux machines using Ansible!

Installa
ansible-galaxy install jetune.heketi
Licenza
apache-2.0
Download
90
Proprietario