Add missing packages for installation on Debian
Debian default cloud images didn't have following packages by default:
* git
* gnupg
Sem-Ver: bugfix
Change-Id: Ia4dd306aefcfe3ce6d5680ac17d7e1928f42c15f
diff --git a/releasenotes/notes/support-debian-c2c011eb48dfd442.yaml b/releasenotes/notes/support-debian-c2c011eb48dfd442.yaml
new file mode 100644
index 0000000..39099d3
--- /dev/null
+++ b/releasenotes/notes/support-debian-c2c011eb48dfd442.yaml
@@ -0,0 +1,4 @@
+---
+fixes:
+ - |
+ Add missing packages for install on `Debian 11` cloud image environment.
diff --git a/roles/ceph_repository/tasks/main.yml b/roles/ceph_repository/tasks/main.yml
index 20e1685..72714db 100644
--- a/roles/ceph_repository/tasks/main.yml
+++ b/roles/ceph_repository/tasks/main.yml
@@ -12,6 +12,11 @@
# License for the specific language governing permissions and limitations
# under the License.
+- name: install packages
+ ansible.builtin.apt:
+ name: ["gnupg"]
+ install_recommends: false
+
- name: add apt key
ansible.builtin.apt_key:
url: "{{ ceph_repository_apt_key }}"
diff --git a/roles/helm/tasks/debian.yml b/roles/helm/tasks/debian.yml
index c636b37..59df4d0 100644
--- a/roles/helm/tasks/debian.yml
+++ b/roles/helm/tasks/debian.yml
@@ -30,7 +30,7 @@
- name: Install packages
ansible.builtin.apt:
- name: ["helm"]
+ name: ["git", "helm"]
install_recommends: false
- name: add bash autocomplete for helm