From e58a12534b94b2b77f3cb58077b3de085df1de1d Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Thu, 14 Oct 2021 20:21:32 +0200 Subject: [PATCH] Add missing apt playbook for infrastructure VMs Change-Id: Id518acd289bc144dc01db819abaebbc8a1cde924 --- kayobe/cli/commands.py | 2 +- kayobe/tests/unit/cli/test_commands.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kayobe/cli/commands.py b/kayobe/cli/commands.py index d00d60022..658030b15 100644 --- a/kayobe/cli/commands.py +++ b/kayobe/cli/commands.py @@ -915,7 +915,7 @@ class InfraVMHostConfigure(KayobeAnsibleMixin, VaultMixin, # Kayobe playbooks. playbooks = _build_playbook_list( "ssh-known-host", "kayobe-ansible-user", - "dnf", "pip", "kayobe-target-venv") + "apt", "dnf", "pip", "kayobe-target-venv") if parsed_args.wipe_disks: playbooks += _build_playbook_list("wipe-disks") playbooks += _build_playbook_list( diff --git a/kayobe/tests/unit/cli/test_commands.py b/kayobe/tests/unit/cli/test_commands.py index a20739948..8ca637921 100644 --- a/kayobe/tests/unit/cli/test_commands.py +++ b/kayobe/tests/unit/cli/test_commands.py @@ -993,6 +993,7 @@ class TestCase(unittest.TestCase): utils.get_data_files_path("ansible", "ssh-known-host.yml"), utils.get_data_files_path( "ansible", "kayobe-ansible-user.yml"), + utils.get_data_files_path("ansible", "apt.yml"), utils.get_data_files_path("ansible", "dnf.yml"), utils.get_data_files_path("ansible", "pip.yml"), utils.get_data_files_path(