From 33e80a0cd455372127028dcd46b4f90a06f6db53 Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Fri, 11 Mar 2022 15:57:10 +0100 Subject: [PATCH] remove unused set_fact --- .../install.yml => fastpackages.yml} | 0 roles/keycloak/tasks/firewalld.yml | 2 +- roles/keycloak/tasks/prereqs.yml | 16 ++++++---------- 3 files changed, 7 insertions(+), 11 deletions(-) rename roles/keycloak/tasks/{fastpackages/install.yml => fastpackages.yml} (100%) diff --git a/roles/keycloak/tasks/fastpackages/install.yml b/roles/keycloak/tasks/fastpackages.yml similarity index 100% rename from roles/keycloak/tasks/fastpackages/install.yml rename to roles/keycloak/tasks/fastpackages.yml diff --git a/roles/keycloak/tasks/firewalld.yml b/roles/keycloak/tasks/firewalld.yml index 1703ae9..e17b55c 100644 --- a/roles/keycloak/tasks/firewalld.yml +++ b/roles/keycloak/tasks/firewalld.yml @@ -1,6 +1,6 @@ --- - name: Ensures required package firewalld are installed - ansible.builtin.include_tasks: fastpackages/install.yml + ansible.builtin.include_tasks: fastpackages.yml vars: packages_list: - firewalld diff --git a/roles/keycloak/tasks/prereqs.yml b/roles/keycloak/tasks/prereqs.yml index 0fbe6c1..77e8364 100644 --- a/roles/keycloak/tasks/prereqs.yml +++ b/roles/keycloak/tasks/prereqs.yml @@ -16,15 +16,11 @@ fail_msg: "Cannot install Red Hat SSO without RHN credentials. Check rhn_username and rhn_password are defined" success_msg: "{{ 'Installing Red Hat Single Sign-On' if keycloak_rhsso_enable else 'Installing keycloak.org' }}" -- name: Set required packages facts - ansible.builtin.set_fact: - required_packages: - - "{{ jvm_package }}" - - unzip - - procps-ng - - initscripts - - name: Ensures required packages are installed - ansible.builtin.include_tasks: fastpackages/install.yml + ansible.builtin.include_tasks: fastpackages.yml vars: - packages_list: "{{ required_packages }}" \ No newline at end of file + packages_list: + - "{{ jvm_package }}" + - unzip + - procps-ng + - initscripts \ No newline at end of file