2023-12-30 12:52:24 +00:00
|
|
|
# -*- mode: yaml; indent-tabs-mode: nil; tab-width: 2; coding: utf-8-unix -*-
|
|
|
|
---
|
|
|
|
|
|
|
|
# from BOX
|
|
|
|
toxcore_system_users: "{{ base_system_users }}"
|
|
|
|
toxcore_standard_users: "{{ base_standard_users }}"
|
|
|
|
|
|
|
|
toxcore_etc_initd_libvirt_name: libvirtd
|
|
|
|
|
|
|
|
toxcore_kmods_in_host:
|
|
|
|
- "{{ 'kvm' if ( ( 'qemu' in TOXCORE_FEATURES or 'libvirt' in TOXCORE_FEATURES ) and 'virtualbox' not in TOXCORE_FEATURES ) else '' }}"
|
|
|
|
- "{{ 'qxl' if ( 'qemu' in TOXCORE_FEATURES or 'libvirt' in TOXCORE_FEATURES ) else '' }}"
|
|
|
|
- "{{ 'nbd' if ( 'qemu' in TOXCORE_FEATURES or 'libvirt' in TOXCORE_FEATURES ) else '' }}"
|
|
|
|
|
|
|
|
toxcore_kmods_not_in_host:
|
|
|
|
# I'm not sure kvm should be missing anymore 5+
|
|
|
|
# FixMe: how do these conflict? qemu libvirt
|
|
|
|
- "{{ 'kvm' if 'virtualbox' in TOXCORE_FEATURES else '' }}"
|
|
|
|
|
|
|
|
toxcore_gpg_keys_system:
|
|
|
|
|
|
|
|
- uid: "30737D12308C9D0C882FC34B57CB0A121BAECB2E"
|
|
|
|
primary: "70ACBB6BFEE7BC572A8941D19266C4FA11FD00FD"
|
|
|
|
name: "Daniel Robbins (metro:node) <drobbins@funtoo.org>"
|
|
|
|
key: "9266C4FA11FD00FD"
|
|
|
|
|
|
|
|
toxcore_services_started:
|
2024-01-08 12:51:06 +00:00
|
|
|
- "{{ toxcore_libvirt_services_host if 'libvirt' in TOXCORE_FEATURES and ansible_virtualization_role|replace('NA', 'host') == 'host' else [] }}"
|
|
|
|
- "{{ toxcore_libvirt_services_guest if 'libvirt' in TOXCORE_FEATURES and ansible_virtualization_role|replace('NA', 'host') != 'host' else [] }}"
|
2023-12-30 12:52:24 +00:00
|
|
|
# not on Gentoo 5
|
|
|
|
#? - "{{ 'docker' if 'docker' in TOXCORE_FEATURES else '' }}"
|
|
|
|
|
2024-01-08 12:51:06 +00:00
|
|
|
toxcore_services_enabled_host: "{{toxcore_services_started}}"
|
|
|
|
|
|
|
|
toxcore_services_enabled_guest:
|
|
|
|
- qemu-quest-agent
|
|
|
|
|
2023-12-30 12:52:24 +00:00
|
|
|
toxcore_services_stopped:
|
|
|
|
- "{{ toxcore_libvirt_services if 'libvirt' not in TOXCORE_FEATURES else [] }}"
|
|
|
|
|