An open API service indexing awesome lists of open source software.

https://github.com/rolehippie/lvm

Ansible role to install and configure the logical volume manager
https://github.com/rolehippie/lvm

ansible ansible-role hacktoberfest role

Last synced: 6 months ago
JSON representation

Ansible role to install and configure the logical volume manager

Awesome Lists containing this project

README

          

# lvm

[![Source Code](https://img.shields.io/badge/github-source%20code-blue?logo=github&logoColor=white)](https://github.com/rolehippie/lvm)
[![General Workflow](https://github.com/rolehippie/lvm/actions/workflows/general.yml/badge.svg)](https://github.com/rolehippie/lvm/actions/workflows/general.yml)
[![Readme Workflow](https://github.com/rolehippie/lvm/actions/workflows/docs.yml/badge.svg)](https://github.com/rolehippie/lvm/actions/workflows/docs.yml)
[![Galaxy Workflow](https://github.com/rolehippie/lvm/actions/workflows/galaxy.yml/badge.svg)](https://github.com/rolehippie/lvm/actions/workflows/galaxy.yml)
[![License: Apache-2.0](https://img.shields.io/github/license/rolehippie/lvm)](https://github.com/rolehippie/lvm/blob/master/LICENSE)
[![Ansible Role](https://img.shields.io/badge/role-rolehippie.lvm-blue)](https://galaxy.ansible.com/rolehippie/lvm)

Ansible role to install and configure the logical volume manager.

## Sponsor

Building and improving this Ansible role have been sponsored by my current and previous employers like **[Cloudpunks GmbH](https://cloudpunks.de)** and **[Proact Deutschland GmbH](https://www.proact.eu)**.

## Table of contents

- [Requirements](#requirements)
- [Default Variables](#default-variables)
- [lvm_group_volumes](#lvm_group_volumes)
- [lvm_host_volumes](#lvm_host_volumes)
- [Discovered Tags](#discovered-tags)
- [Dependencies](#dependencies)
- [License](#license)
- [Author](#author)

---

## Requirements

- Minimum Ansible version: `2.10`

## Default Variables

### lvm_group_volumes

List of volumes to manage per group

#### Default value

```YAML
lvm_group_volumes: '{{ lvm_volumes | default([]) }}'
```

#### Example usage

```YAML
lvm_group_volumes:
- name: lv_data
group: vg_data
disks:
- /dev/sda
fstype: xfs
size: 100g
resizefs: true
mountpoint: /mnt/data
mountopts:
- ro
- noauto
state: present
```

### lvm_host_volumes

List of volumes to manage per host

#### Default value

```YAML
lvm_host_volumes: []
```

#### Example usage

```YAML
lvm_host_volumes:
- name: lv_data
group: vg_data
disks:
- /dev/sda
fstype: xfs
size: 100g
resizefs: true
mountpoint: /mnt/data
mountopts:
- ro
- noauto
state: present
```

## Discovered Tags

**_lvm_**

## Dependencies

- [ansible.posix](https://github.com/ansible-collections/ansible.posix)
- [community.general](https://github.com/ansible-collections/community.general)

## License

Apache-2.0

## Author

[Thomas Boerger](https://github.com/tboerger)