diff --git a/ansible/playbooks/00_all_of_the_things.yaml b/ansible/playbooks/00_all_of_the_things.yaml new file mode 100644 index 0000000..b242891 --- /dev/null +++ b/ansible/playbooks/00_all_of_the_things.yaml @@ -0,0 +1,6 @@ +--- +- ansible.builtin.import_playbook: ./01_baremetal.yaml +- ansible.builtin.import_playbook: ./02_hypervisor.yaml +- ansible.builtin.import_playbook: ./03_vm_template.yaml +- ansible.builtin.import_playbook: ./04_vm_deploy.yaml +- ansible.builtin.import_playbook: ./05_k8s_deploy.yaml \ No newline at end of file diff --git a/ansible/playbooks/00_baremetal.yaml b/ansible/playbooks/01_baremetal.yaml similarity index 100% rename from ansible/playbooks/00_baremetal.yaml rename to ansible/playbooks/01_baremetal.yaml diff --git a/ansible/playbooks/01_hypervisor.yaml b/ansible/playbooks/02_hypervisor.yaml similarity index 100% rename from ansible/playbooks/01_hypervisor.yaml rename to ansible/playbooks/02_hypervisor.yaml diff --git a/ansible/playbooks/02_vm_template.yml b/ansible/playbooks/03_vm_template.yml similarity index 100% rename from ansible/playbooks/02_vm_template.yml rename to ansible/playbooks/03_vm_template.yml diff --git a/ansible/playbooks/03_vm_deploy.yaml b/ansible/playbooks/04_vm_deploy.yaml similarity index 100% rename from ansible/playbooks/03_vm_deploy.yaml rename to ansible/playbooks/04_vm_deploy.yaml diff --git a/ansible/playbooks/04_k8s.yaml b/ansible/playbooks/05_k8s_deploy.yaml similarity index 100% rename from ansible/playbooks/04_k8s.yaml rename to ansible/playbooks/05_k8s_deploy.yaml diff --git a/ansible/playbooks/97_k8s_destroy.yaml b/ansible/playbooks/97_k8s_destroy.yaml new file mode 100644 index 0000000..0c30bdb --- /dev/null +++ b/ansible/playbooks/97_k8s_destroy.yaml @@ -0,0 +1,7 @@ +--- +- name: destroy the k8s cluster + hosts: k8s + gather_facts: true + become: true + roles: + - k8s_destroy \ No newline at end of file diff --git a/ansible/playbooks/99_vm_destroy.yaml b/ansible/playbooks/98_vm_destroy.yaml similarity index 100% rename from ansible/playbooks/99_vm_destroy.yaml rename to ansible/playbooks/98_vm_destroy.yaml diff --git a/ansible/playbooks/99_burn_it_all.yaml b/ansible/playbooks/99_burn_it_all.yaml new file mode 100644 index 0000000..567c0fd --- /dev/null +++ b/ansible/playbooks/99_burn_it_all.yaml @@ -0,0 +1,3 @@ +--- +- ansible.builtin.import_playbook: ./97_k8s_destroy.yaml +- ansible.builtin.import_playbook: ./98_vm_destroy.yaml \ No newline at end of file diff --git a/ansible/playbooks/88_scratch.yaml b/zz_archived/88_scratch.yaml similarity index 100% rename from ansible/playbooks/88_scratch.yaml rename to zz_archived/88_scratch.yaml