minor fix

pull/485/head
gjmzj 2019-03-16 17:32:43 +08:00
parent cdddf6e6bb
commit 812d71ca10
2 changed files with 10 additions and 0 deletions

View File

@ -212,3 +212,4 @@
- 'kubeasz'
- 'helm'
- 'kubectl completion'
- 'HELM_TLS_ENABLE'

View File

@ -29,6 +29,15 @@
regexp: 'kubectl completion'
line: 'source <(kubectl completion bash)'
- name: ansible 控制端添加 kubectl 自动补全
lineinfile:
dest: ~/.bashrc
state: present
regexp: 'kubectl completion'
line: 'source <(kubectl completion bash)'
connection: local
run_once: true
- name: 分发证书相关
synchronize: src={{ ca_dir }}/{{ item }} dest={{ ca_dir }}/{{ item }}
with_items: