From: Kienan Stewart Date: Thu, 8 Aug 2024 13:15:11 +0000 (-0400) Subject: ansible: Apply lxd role only to hosts in the lxd group X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=79b30c701b7c208cf305b4af13d23c5fae8e1d22;p=lttng-ci.git ansible: Apply lxd role only to hosts in the lxd group This will continue to allow bootstrapping of LXD clusters if needed for testing. Change-Id: Ib0cffa8ad8f50e30242d638ad12c65032cbb5789 Signed-off-by: Kienan Stewart --- diff --git a/automation/ansible/hosts.yml b/automation/ansible/hosts.yml index 1cb9dd0..702e43e 100644 --- a/automation/ansible/hosts.yml +++ b/automation/ansible/hosts.yml @@ -7,8 +7,17 @@ - hosts: hosts roles: - common +- hosts: hosts:&lxd:!windows + roles: + - lxd + tasks: + - ansible.builtin.include_role: + name: incus + tasks_from: install +- hosts: hosts:&incus:!windows + roles: + - incus - hosts: hosts:!windows roles: - libvirt - - lxd - rasdaemon