Skip to content

Commit

Permalink
Add play to run debops roles (#521)
Browse files Browse the repository at this point in the history
Closes osism/issues#1189

Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Dec 15, 2024
1 parent 08ed468 commit 27a009b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions playbooks/generic/debops.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# https://docs.debops.org/en/latest/ansible/role-index.html
---
- name: Run a debops role
hosts: "{{ hosts_debops | default('generic') }}"
become: true

tasks:
- name: Include debops role
ansible.builtin.include_role:
name: "debops.debops.{{ debops_role_name }}"
when: debops_role_name is defined and debops_role_name | length > 0

0 comments on commit 27a009b

Please sign in to comment.