enable bash completion tasks for Suse OS family (#11860)

* remove check for os family on bash completion tasks

* add Suse
This commit is contained in:
Noam
2025-01-06 16:36:16 +02:00
committed by GitHub
parent ac9b76eb2e
commit 55d1e4a4b5

View File

@@ -43,7 +43,7 @@
- name: Install kubectl bash completion - name: Install kubectl bash completion
shell: "{{ bin_dir }}/kubectl completion bash >/etc/bash_completion.d/kubectl.sh" shell: "{{ bin_dir }}/kubectl completion bash >/etc/bash_completion.d/kubectl.sh"
when: ansible_os_family in ["Debian","RedHat"] when: ansible_os_family in ["Debian","RedHat", "Suse"]
tags: tags:
- kubectl - kubectl
ignore_errors: true # noqa ignore-errors ignore_errors: true # noqa ignore-errors
@@ -54,7 +54,7 @@
owner: root owner: root
group: root group: root
mode: "0755" mode: "0755"
when: ansible_os_family in ["Debian","RedHat"] when: ansible_os_family in ["Debian","RedHat", "Suse"]
tags: tags:
- kubectl - kubectl
- upgrade - upgrade
@@ -73,7 +73,7 @@
state: present state: present
marker: "# Ansible entries {mark}" marker: "# Ansible entries {mark}"
when: when:
- ansible_os_family in ["Debian","RedHat"] - ansible_os_family in ["Debian","RedHat", "Suse"]
- kubectl_alias is defined and kubectl_alias != "" - kubectl_alias is defined and kubectl_alias != ""
tags: tags:
- kubectl - kubectl