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