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
This commit is contained in:
Radosław Piliszek 2021-06-21 15:40:46 +00:00
parent 2237e45db3
commit 3a7440b370
2 changed files with 7 additions and 1 deletions

View File

@ -150,7 +150,7 @@
name: "{{ (ubuntu_pkg_removals | join(' ')).split() }}"
state: absent
become: True
when: ansible_distribution|lower == "ubuntu"
when: ansible_os_family == 'Debian'
- name: Remove packages
package:

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes host bootstrap on Debian not removing the conflicting packages.
It now behaves in accordance with the docs.
`LP#1933122 <https://launchpad.net/bugs/1933122>`__