Skip to content

Commit fdbe6ae

Browse files
committed
Fix host bootstrap pkg removal on Debian
The variable names are awful but this all agrees with the docs now. Closes-Bug: #1933122 Change-Id: Icd3d140473886ba3c4847859cddccdb3c1376818 (cherry picked from commit 3a7440b) (cherry picked from commit bcce291)
1 parent db8ce77 commit fdbe6ae

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ansible/roles/baremetal/tasks/install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
name: "{{ (ubuntu_pkg_removals | join(' ')).split() }}"
151151
state: absent
152152
become: True
153-
when: ansible_distribution|lower == "ubuntu"
153+
when: ansible_os_family == 'Debian'
154154

155155
- name: Remove packages
156156
package:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes host bootstrap on Debian not removing the conflicting packages.
5+
It now behaves in accordance with the docs.
6+
`LP#1933122 <https://launchpad.net/bugs/1933122>`__

0 commit comments

Comments
 (0)