From 50e2e7a9cfcf92c4714ac0f52dc87145dde3bd1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Maury?= Date: Mon, 29 Jan 2024 16:17:09 +0100 Subject: [PATCH] adding oracle linux to consul role support (#147) --- roles/consul/meta/main.yml | 1 + roles/consul/tasks/oraclelinux/main.yml | 32 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/roles/consul/meta/main.yml b/roles/consul/meta/main.yml index 888e23e2..d8191d91 100644 --- a/roles/consul/meta/main.yml +++ b/roles/consul/meta/main.yml @@ -19,6 +19,7 @@ galaxy_info: - name: Debian versions: - bullseye + - bookworm galaxy_tags: - consul - hashicorp diff --git a/roles/consul/tasks/oraclelinux/main.yml b/roles/consul/tasks/oraclelinux/main.yml index e69de29b..2f83d31c 100644 --- a/roles/consul/tasks/oraclelinux/main.yml +++ b/roles/consul/tasks/oraclelinux/main.yml @@ -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 +