Mark Goddard 73b6bce608 Use ansible_facts to reference facts
By default, Ansible injects a variable for every fact, prefixed with
ansible_. This can result in a large number of variables for each host,
which at scale can incur a performance penalty. Ansible provides a
configuration option [0] that can be set to False to prevent this
injection of facts. In this case, facts should be referenced via
ansible_facts.<fact>.

This change updates all references to Ansible facts from using
individual fact variables to using the items in the
ansible_facts dictionary. This allows users to disable fact variable
injection in their Ansible configuration, which may provide some
performance improvement.

[0] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars
2021-05-13 17:21:42 +01:00
2020-05-14 23:43:59 +02:00
2020-05-14 23:43:59 +02:00
2020-04-15 17:07:33 +02:00
2020-05-11 16:35:00 +02:00
2020-04-27 13:50:00 -04:00
2020-05-14 23:43:59 +02:00
2020-05-14 23:43:59 +02:00

ansible-manage-lvm

Ansible role to manage LVM Groups/Logical Volumes.

NOTE: Can be used to create, extend or resize LVM Groups and volumes.

Requirements

Devices/disks to be members of the LVM setup must be identified prior to using this role.

Role Variables

defaults/main.yml

Dependencies

None

Example Playbook

playbook.yml

License

MIT

Author Information

Larry Smith Jr.

S
Description
Ansible role to manage LVM Groups/Logical Volumes
Readme 910 KiB
Languages
Python 87.9%
Jinja 12.1%