Skip to content

Commit

Permalink
adding oracle linux to consul role support (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelienmaury authored Jan 29, 2024
1 parent 3f500cf commit 50e2e7a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/consul/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ galaxy_info:
- name: Debian
versions:
- bullseye
- bookworm
galaxy_tags:
- consul
- hashicorp
Expand Down
32 changes: 32 additions & 0 deletions roles/consul/tasks/oraclelinux/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
- name: Prepare
include_tasks:
file: "{{ role_path }}/tasks/common/_prepare.yml"
apply:
tags: prepare
tags:
- prepare
- online


- name: Install
include_tasks:
file: "{{ role_path }}/tasks/common/_install.yml"
apply:
tags: install
tags:
- install
- online

- name: Configure
include_tasks:
file: "{{ role_path }}/tasks/common/_configure.yml"
apply:
tags: configure
when: __hs_consul_is_master
tags:
- configure

- name: Flush
meta: flush_handlers

0 comments on commit 50e2e7a

Please sign in to comment.