Ansible Playbook: manage_libvirt_servers¶
Manage LibVirt servers.
Supported features in the current version:
- Deploy lib-virt client and server
Deploy LibVirt server¶
- Verify that target nodes are registered in the inventory file: libvirt_service.ini
- Verify that target endstate is set: manage_libvirt_servers.yml
- Run the playbook. Use the
-s <SITE>parameter to select the target site.
/opt/aplatform64/bin/ap64.sh -n -p manage_libvirt_servers -s <SITE>
Register the hosts that will consume the service in the Ansible Inventory file:
- Host Group:
A dedicated group_vars directory is used to store end-state configuration settings for both the playbook and related Ansible Roles.
Set playbook specific settings in the file:
libvirt_servers_apps: libvirt_client: kernel_tools: libvirt_server:
|Parameter||Required?||Type||Default||Purpose / Value|
|libvirt_servers_apps||no||dictionary||Define what applications will be deployed|
|libvirt_servers_apps.libvirt_client||no||boolean|| ||Deploy the application?|
|libvirt_servers_apps.libvirt_server||no||boolean|| ||Deploy the application?|
|libvirt_servers_apps.kernel_tools||no||boolean|| ||Deploy the application?|
Additional role specific settings are available to further customize the playbook:
|A:Platform64 role||group_vars file|
OS compatibility is role dependant. Please refer to the respective role documentation.
Dependencies in this section are automatically solved during the installation of A:Platform64.
- Ansible Collections:
- Control Node: A:Platform64 installed and configured.
- Managed Nodes: target hosts prepared for A:Platform64 control.
The playbook is automatically deployed during the A:Platform64 installation process.
Help on implementing new features and maintaining the code base is welcomed.
Please see the guidelines for further details.