From 79b30c701b7c208cf305b4af13d23c5fae8e1d22 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Thu, 8 Aug 2024 09:15:11 -0400 Subject: [PATCH] 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 --- automation/ansible/hosts.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.34.1