kube-forge v2: embede python with ansible (kubespray) and cobra as cli building tool
This commit is contained in:
24
internal/resources/kubespray/project/reset.yml
Normal file
24
internal/resources/kubespray/project/reset.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
- name: Common tasks for every playbooks
|
||||
import_playbook: boilerplate.yml
|
||||
|
||||
- name: Gather facts
|
||||
import_playbook: facts.yml
|
||||
|
||||
- name: Reset cluster
|
||||
hosts: etcd:k8s_cluster:calico_rr
|
||||
gather_facts: false
|
||||
pre_tasks:
|
||||
- name: Gather information about installed services
|
||||
service_facts:
|
||||
|
||||
environment: "{{ proxy_disable_env }}"
|
||||
roles:
|
||||
- { role: kubespray_defaults }
|
||||
- {
|
||||
role: kubernetes/preinstall,
|
||||
when: "dns_mode != 'none' and resolvconf_mode == 'host_resolvconf'",
|
||||
tags: resolvconf,
|
||||
dns_early: true,
|
||||
}
|
||||
- { role: reset, tags: reset }
|
||||
Reference in New Issue
Block a user