Skip to content

Commit

Permalink
Infra VMs: support APT config
Browse files Browse the repository at this point in the history
The Wallaby backports of infra VMs and APT repository config did not sync up correctly.

Change-Id: I1e0eb3201890a0c45f6f2a6cc004ff9304684777
  • Loading branch information
markgoddard committed Sep 20, 2022
1 parent 04cfe69 commit 233657b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible/apt.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Ensure APT is configured
hosts: seed-hypervisor:seed:overcloud
hosts: seed-hypervisor:seed:overcloud:infra-vms
vars:
ansible_python_interpreter: /usr/bin/python3
tags:
Expand Down
2 changes: 1 addition & 1 deletion kayobe/cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ def take_action(self, parsed_args):
# Kayobe playbooks.
playbooks = _build_playbook_list(
"ssh-known-host", "kayobe-ansible-user", "proxy",
"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(
Expand Down
1 change: 1 addition & 0 deletions kayobe/tests/unit/cli/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,7 @@ def test_infra_vm_host_configure(self, mock_run):
utils.get_data_files_path(
"ansible", "kayobe-ansible-user.yml"),
utils.get_data_files_path("ansible", "proxy.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(
Expand Down

0 comments on commit 233657b

Please sign in to comment.