Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/kubeblocks #24

Merged
merged 3 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions inventory/dev/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ docker_install_compose_plugin: true

use_helm: true
use_krew: true
use_kbcli: true
kubectl_ver: v1.29.3
kubectl_install_dir: /usr/bin
krew_install_plugins:
Expand Down
1 change: 1 addition & 0 deletions inventory/test/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ docker_install_compose: true
docker_install_compose_plugin: true

use_helm: true
use_kbcli: true
use_krew: true
kubectl_ver: v1.29.3
kubectl_install_dir: /usr/bin
Expand Down
27 changes: 22 additions & 5 deletions provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,27 +78,44 @@

tasks:
- name: Install Helm
when: use_helm | bool
when:
- use_helm is defined
- use_helm | bool
ansible.builtin.include_role:
name: andrewrothstein.kubernetes_helm

- name: Install Krew
when: use_krew | bool
when:
- use_krew is defined
- use_krew | bool
ansible.builtin.include_role:
name: andrewrothstein.krew

- name: Install kbcli
when:
- use_kbcli is defined
- use_kbcli | bool
ansible.builtin.include_role:
name: bbaassssiiee.kubeblocks

- name: Install OpenTofu
when: use_opentofu | bool
when:
- use_opentofu is defined
- use_opentofu | bool
ansible.builtin.include_role:
name: andrewrothstein.opentofu

- name: Install Powershell
when: use_powershell | bool
when:
- use_powershell is defined
- use_powershell | bool
ansible.builtin.include_role:
name: andrewrothstein.powershell

- name: Install Terraform
when: use_terraform | bool
when:
- use_terraform is defined
- use_terraform | bool
ansible.builtin.include_role:
name: andrewrothstein.terraform

Expand Down
10 changes: 6 additions & 4 deletions roles/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
roles:
- src: andrewrothstein.kubernetes_helm
version: 3.0.17
- src: andrewrothstein.krew
version: v1.2.0
- src: andrewrothstein.kubernetes_helm
version: 3.0.17
- src: andrewrothstein.opentofu
version: 1.0.9
- src: andrewrothstein.powershell
Expand All @@ -12,9 +12,11 @@ roles:
version: v3.0.38
- src: geerlingguy.docker
version: 7.4.3
- src: bbaassssiiee.postgres_ssl
version: 1.1.0
- src: bbaassssiiee.kubeblocks
version: 1.0.0
- src: bbaassssiiee.nginx_ssl
version: 1.0.5
- src: bbaassssiiee.postgres_ssl
version: 1.1.0
- src: bbaassssiiee.proxy
version: 1.0.3
2 changes: 1 addition & 1 deletion roles/semaphore/handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Only restart when not running in itself
- name: Restart semaphore
when: not lookup('env', 'SEMAPHORE')
when: not lookup('env', 'SEMAPHORE')
ansible.builtin.systemd:
name: semaphore
state: restarted