add roles/toxcore
This commit is contained in:
@@ -24,14 +24,17 @@ toxcore_gpg_keys_system:
|
||||
name: "Daniel Robbins (metro:node) <drobbins@funtoo.org>"
|
||||
key: "9266C4FA11FD00FD"
|
||||
|
||||
toxcore_services_enabled: []
|
||||
# - qemu-guest-agent
|
||||
|
||||
toxcore_services_started:
|
||||
- "{{ toxcore_libvirt_services if 'libvirt' in TOXCORE_FEATURES else [] }}"
|
||||
- "{{ 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 [] }}"
|
||||
# not on Gentoo 5
|
||||
#? - "{{ 'docker' if 'docker' in TOXCORE_FEATURES else '' }}"
|
||||
|
||||
toxcore_services_enabled_host: "{{toxcore_services_started}}"
|
||||
|
||||
toxcore_services_enabled_guest:
|
||||
- qemu-quest-agent
|
||||
|
||||
toxcore_services_stopped:
|
||||
- "{{ toxcore_libvirt_services if 'libvirt' not in TOXCORE_FEATURES else [] }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user