mirror of https://github.com/easzlab/kubeasz.git
10 lines
295 B
YAML
10 lines
295 B
YAML
|
- name: 准备 DNS的部署文件
|
||
|
template: src=dns/coredns.yaml.j2 dest={{ cluster_dir }}/yml/coredns.yaml
|
||
|
run_once: true
|
||
|
connection: local
|
||
|
|
||
|
- name: 创建coredns部署
|
||
|
shell: "{{ base_dir }}/bin/kubectl apply -f {{ cluster_dir }}/yml/coredns.yaml"
|
||
|
run_once: true
|
||
|
connection: local
|