https://github.com/victorock/libvirt
Ansible role to install libvirt
https://github.com/victorock/libvirt
Last synced: 3 months ago
JSON representation
Ansible role to install libvirt
- Host: GitHub
- URL: https://github.com/victorock/libvirt
- Owner: victorock
- License: gpl-3.0
- Created: 2018-07-02T13:03:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-13T21:18:01.000Z (almost 7 years ago)
- Last Synced: 2025-01-11T06:10:00.387Z (4 months ago)
- Size: 18.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
Ansible Role to Install Libvirt
=========Ansible role to install Libvirt.
Role Variables
--------------Variables are defined in `defaults/main.yml` and structured/encapsulated in `vars/`.
| Name | Default Value | Description |
|-------------------|---------------------|----------------------|
| `autorun` | `False` | Boolean to define if the role "autorun" (`tasks/main.yml`). Useful when you want to have dependencies solved by galaxy (`meta/main.yml`) but don't want it to run automatically. |
| `libvirt_auth_group` | `libvirt` | Group allowed to connect to libvirt via polkit. |
| `libvirt_services_state` | `started` | The services state: started, stopped or restarted |
| `libvirt_services_enabled` | `yes` | Bool to define if services shall start on-boot. |Examples
------------Follow below different examples and ways to use this role.
>Playbook: Install Libvirt with default options.
```YAML
---
- name: "libvirt: Install libvirt"
hosts: network_lab
gather_facts: true
become: trueroles:
- role: victorock.libvirt
autorun: true```
License
------------GPLv3
Author
------------Victor da Costa (@victorock)