feat!: template all ansible dir and rename template to bootstrap (#847)
This commit is contained in:
1 parent
c7f10b0c6d
commit
c9d988a66f
177 files changed
+238
-129
No files matched your search
@@ -0,0 +1,34 @@
|
||||
---
|
||||
- name: Cluster Installation
|
||||
hosts: localhost
|
||||
connection: local
|
||||
vars_files:
|
||||
- defaults/main.yaml
|
||||
- vars/config.yaml
|
||||
- vars/addons.yaml
|
||||
tasks:
|
||||
- name: Get absolute path to this Git repository # noqa: command-instead-of-module
|
||||
ansible.builtin.command: git rev-parse --show-toplevel
|
||||
changed_when: false
|
||||
check_mode: false
|
||||
register: repository
|
||||
failed_when: repository.rc != 0
|
||||
|
||||
- name: Set facts
|
||||
ansible.builtin.set_fact:
|
||||
repository_path: "{{ repository.stdout }}"
|
||||
|
||||
- name: Verify configuration
|
||||
ansible.builtin.include_tasks: tasks/validation/main.yaml
|
||||
|
||||
- name: Template Sops configuration
|
||||
ansible.builtin.include_tasks: tasks/sops/main.yaml
|
||||
|
||||
- name: Template Ansible configuration
|
||||
ansible.builtin.include_tasks: tasks/ansible/main.yaml
|
||||
|
||||
- name: Template Kubernetes configuration
|
||||
ansible.builtin.include_tasks: tasks/kubernetes/main.yaml
|
||||
|
||||
- name: Template Kubernetes addon configuration
|
||||
ansible.builtin.include_tasks: tasks/addons/main.yaml
|
||||
Reference in new issue
Block a user