Browse Source
enable bash completion tasks for Suse OS family (#11860)
* remove check for os family on bash completion tasks
* add Suse
pull/11854/head
Noam
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
3 deletions
-
roles/kubernetes/control-plane/tasks/main.yml
|
|
@ -43,7 +43,7 @@ |
|
|
|
|
|
|
|
- name: Install kubectl bash completion |
|
|
|
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: |
|
|
|
- kubectl |
|
|
|
ignore_errors: true # noqa ignore-errors |
|
|
@ -54,7 +54,7 @@ |
|
|
|
owner: root |
|
|
|
group: root |
|
|
|
mode: "0755" |
|
|
|
when: ansible_os_family in ["Debian","RedHat"] |
|
|
|
when: ansible_os_family in ["Debian","RedHat", "Suse"] |
|
|
|
tags: |
|
|
|
- kubectl |
|
|
|
- upgrade |
|
|
@ -73,7 +73,7 @@ |
|
|
|
state: present |
|
|
|
marker: "# Ansible entries {mark}" |
|
|
|
when: |
|
|
|
- ansible_os_family in ["Debian","RedHat"] |
|
|
|
- ansible_os_family in ["Debian","RedHat", "Suse"] |
|
|
|
- kubectl_alias is defined and kubectl_alias != "" |
|
|
|
tags: |
|
|
|
- kubectl |
|
|
|