remove unused set_fact

main
Guido Grazioli 2022-03-11 15:57:10 +01:00 committed by Pelisse Romain
parent bf26c727a8
commit 33e80a0cd4
3 changed files with 7 additions and 11 deletions

View File

@ -1,6 +1,6 @@
--- ---
- name: Ensures required package firewalld are installed - name: Ensures required package firewalld are installed
ansible.builtin.include_tasks: fastpackages/install.yml ansible.builtin.include_tasks: fastpackages.yml
vars: vars:
packages_list: packages_list:
- firewalld - firewalld

View File

@ -16,15 +16,11 @@
fail_msg: "Cannot install Red Hat SSO without RHN credentials. Check rhn_username and rhn_password are defined" 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' }}" success_msg: "{{ 'Installing Red Hat Single Sign-On' if keycloak_rhsso_enable else 'Installing keycloak.org' }}"
- name: Set required packages facts - name: Ensures required packages are installed
ansible.builtin.set_fact: ansible.builtin.include_tasks: fastpackages.yml
required_packages: vars:
packages_list:
- "{{ jvm_package }}" - "{{ jvm_package }}"
- unzip - unzip
- procps-ng - procps-ng
- initscripts - initscripts
- name: Ensures required packages are installed
ansible.builtin.include_tasks: fastpackages/install.yml
vars:
packages_list: "{{ required_packages }}"