Skip to content

Commit 233657b

Browse files
committed
Infra VMs: support APT config
The Wallaby backports of infra VMs and APT repository config did not sync up correctly. Change-Id: I1e0eb3201890a0c45f6f2a6cc004ff9304684777
1 parent 04cfe69 commit 233657b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

ansible/apt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Ensure APT is configured
3-
hosts: seed-hypervisor:seed:overcloud
3+
hosts: seed-hypervisor:seed:overcloud:infra-vms
44
vars:
55
ansible_python_interpreter: /usr/bin/python3
66
tags:

kayobe/cli/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ def take_action(self, parsed_args):
905905
# Kayobe playbooks.
906906
playbooks = _build_playbook_list(
907907
"ssh-known-host", "kayobe-ansible-user", "proxy",
908-
"dnf", "pip", "kayobe-target-venv")
908+
"apt", "dnf", "pip", "kayobe-target-venv")
909909
if parsed_args.wipe_disks:
910910
playbooks += _build_playbook_list("wipe-disks")
911911
playbooks += _build_playbook_list(

kayobe/tests/unit/cli/test_commands.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,7 @@ def test_infra_vm_host_configure(self, mock_run):
985985
utils.get_data_files_path(
986986
"ansible", "kayobe-ansible-user.yml"),
987987
utils.get_data_files_path("ansible", "proxy.yml"),
988+
utils.get_data_files_path("ansible", "apt.yml"),
988989
utils.get_data_files_path("ansible", "dnf.yml"),
989990
utils.get_data_files_path("ansible", "pip.yml"),
990991
utils.get_data_files_path(

0 commit comments

Comments
 (0)