feat(roles): add hashicorp roles as submodules

This commit is contained in:
Bertrand Lanson 2023-12-22 23:56:09 +01:00
parent 965f955a7c
commit 8b7d24f602
7 changed files with 18 additions and 12 deletions

6
.gitmodules vendored Normal file
View File

@ -0,0 +1,6 @@
[submodule "roles/hashicorp_consul"]
path = roles/hashicorp_consul
url = https://github.com/ednxzu/hashicorp_consul
[submodule "roles/hashicorp_vault"]
path = roles/hashicorp_vault
url = https://github.com/ednxzu/hashicorp_vault

View File

@ -1,9 +1,3 @@
--- ---
- name: Include a playbook from a collection
ansible.builtin.import_playbook: ednxzu.hashistack.preflight.yml
- name: Include a playbook from a collection
ansible.builtin.import_playbook: ednxzu.hashistack.prepare.yml
- name: Include a playbook from a collection - name: Include a playbook from a collection
ansible.builtin.import_playbook: ednxzu.hashistack.deploy.yml ansible.builtin.import_playbook: ednxzu.hashistack.deploy.yml

View File

@ -1,5 +1,6 @@
--- ---
- name: Prepare - name: Include a playbook from a collection
hosts: all ansible.builtin.import_playbook: ednxzu.hashistack.preflight.yml
become: true
tasks: [] - name: Include a playbook from a collection
ansible.builtin.import_playbook: ednxzu.hashistack.prepare.yml

View File

@ -1,6 +1,9 @@
--- ---
# hashistack prepare playbook # hashistack prepare playbook
- name: "Deploy" - name: "Prepare"
hosts: all hosts: all
gather_facts: true gather_facts: true
tasks: [] tasks:
- name: "Include ednxzu.install_docker"
ansible.builtin.include_role:
name: ednxzu.install_docker

@ -0,0 +1 @@
Subproject commit 36305c28f8689355f4846af2b90149e94be03b1e

1
roles/hashicorp_vault Submodule

@ -0,0 +1 @@
Subproject commit f2c23ced7502e7879942ba53f5d2a5df0d71f599