diff --git a/roles/custom/matrix-base/tasks/ensure_openssl_installed.yml b/roles/custom/matrix-base/tasks/ensure_openssl_installed.yml index 889531f9e..d0cd8edea 100644 --- a/roles/custom/matrix-base/tasks/ensure_openssl_installed.yml +++ b/roles/custom/matrix-base/tasks/ensure_openssl_installed.yml @@ -1,12 +1,6 @@ --- -# This is for both RedHat 7 and 8 -- ansible.builtin.include_tasks: "{{ role_path }}/tasks/ensure_openssl_installed_redhat.yml" - when: ansible_os_family == 'RedHat' - -# This is for both Debian and Raspbian -- ansible.builtin.include_tasks: "{{ role_path }}/tasks/ensure_openssl_installed_debian.yml" - when: ansible_os_family == 'Debian' - -- ansible.builtin.include_tasks: "{{ role_path }}/tasks/ensure_openssl_installed_archlinux.yml" - when: ansible_os_family == 'Archlinux' +- name: Ensure openssl installed + ansible.builtin.package: + name: openssl + state: present diff --git a/roles/custom/matrix-base/tasks/ensure_openssl_installed_archlinux.yml b/roles/custom/matrix-base/tasks/ensure_openssl_installed_archlinux.yml deleted file mode 100644 index ce70c5624..000000000 --- a/roles/custom/matrix-base/tasks/ensure_openssl_installed_archlinux.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- - -- name: Ensure openssl installed (Archlinux) - community.general.pacman: - name: openssl - state: present diff --git a/roles/custom/matrix-base/tasks/ensure_openssl_installed_debian.yml b/roles/custom/matrix-base/tasks/ensure_openssl_installed_debian.yml deleted file mode 100644 index 18f1cb95e..000000000 --- a/roles/custom/matrix-base/tasks/ensure_openssl_installed_debian.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- - -- name: Ensure openssl installed (Debian/Raspbian) - ansible.builtin.apt: - name: openssl - state: present diff --git a/roles/custom/matrix-base/tasks/ensure_openssl_installed_redhat.yml b/roles/custom/matrix-base/tasks/ensure_openssl_installed_redhat.yml deleted file mode 100644 index b8809cf55..000000000 --- a/roles/custom/matrix-base/tasks/ensure_openssl_installed_redhat.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- - -- name: Ensure openssl installed (RedHat) - ansible.builtin.yum: - name: openssl - state: present