Skip to content

Commit

Permalink
Add rook playbooks (#411)
Browse files Browse the repository at this point in the history
Related to osism/issues#881

Signed-off-by: Eike Waldt <[email protected]>
Co-authored-by: Axel Lender <[email protected]>
Co-authored-by: Christian Berendt <[email protected]>
  • Loading branch information
3 people authored Jun 28, 2024
1 parent ef5045c commit 04ec728
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 0 deletions.
12 changes: 12 additions & 0 deletions playbooks/rook/rook-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
- name: Apply task cleanup from role rook
hosts:
- "{{ hosts_manager|default(groups['manager'][0])|default('localhost') }}"
connection: local
gather_facts: false

tasks:
- name: Include cleanup.yml from osism.services.rook role
ansible.builtin.include_role:
name: osism.services.rook
tasks_from: cleanup.yml
12 changes: 12 additions & 0 deletions playbooks/rook/rook-crd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
- name: Apply task deploy-crd from role rook
hosts:
- "{{ hosts_manager|default(groups['manager'][0])|default('localhost') }}"
connection: local
gather_facts: false

tasks:
- name: Include deploy-crd.yml from osism.services.rook role
ansible.builtin.include_role:
name: osism.services.rook
tasks_from: deploy-crd.yml
11 changes: 11 additions & 0 deletions playbooks/rook/rook-fetch-keys.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
- name: Apply task fetch-keys from role rook
hosts:
- "{{ hosts_manager|default(groups['manager'][0])|default('manager') }}"
gather_facts: false

tasks:
- name: Include fetch-keys.yml from osism.services.rook role
ansible.builtin.include_role:
name: osism.services.rook
tasks_from: fetch-keys.yml
12 changes: 12 additions & 0 deletions playbooks/rook/rook-helm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
- name: Apply task deploy-helm from role rook
hosts:
- "{{ hosts_manager|default(groups['manager'][0])|default('localhost') }}"
connection: local
gather_facts: false

tasks:
- name: Include deploy-helm.yml from osism.services.rook role
ansible.builtin.include_role:
name: osism.services.rook
tasks_from: deploy-helm.yml
11 changes: 11 additions & 0 deletions playbooks/rook/rook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
- name: Apply role rook
hosts:
- "{{ hosts_manager|default(groups['manager'][0])|default('localhost') }}"
connection: local
gather_facts: false

tasks:
- name: Include osism.services.rook role
ansible.builtin.include_role:
name: osism.services.rook

0 comments on commit 04ec728

Please sign in to comment.