Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions resources/roles/install_uninstall/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
is_alt_package: "{{ pkg_name | regex_search('^alt-(php|python|ruby|nodejs).*', ignorecase=True) is not none }}"
is_custom_mysql_package: "{{ pkg_name | regex_search('^cl-(mysql|mariadb).*', ignorecase=True) is not none }}"
is_ea_apache24_mod_lsapi: "{{ pkg_name.startswith('ea-apache24-mod-lsapi') }}"
is_ea_apache24_mod_cgid: "{{ pkg_name.startswith('ea-apache24-mod_cgid') }}"
is_ea_apache24_mod_http2: "{{ pkg_name.startswith('ea-apache24-mod_http2') }}"
dnf_args: "{{ default_dnf_args | combine(extra_dnf_args) }}"
apt_args:
allow_unauthenticated: true
Expand Down Expand Up @@ -67,6 +69,29 @@
tags:
- install_package

- name: Ensure that conflicting packages removed for ea-apache24-mod_cgid RPM package
ansible.builtin.package:
name:
- ea-apache24-mod_cgi
- ea-apache24-mod_mpm_prefork
state: absent
when:
- is_ea_apache24_mod_cgid
- ansible_facts.os_family == 'RedHat'
tags:
- install_package

- name: Ensure that conflicting packages removed for ea-apache24-mod_http2 RPM package
ansible.builtin.package:
name:
- ea-apache24-mod_mpm_prefork
state: absent
when:
- is_ea_apache24_mod_http2
- ansible_facts.os_family == 'RedHat'
tags:
- install_package


- name: Enable module
ansible.builtin.shell: dnf module enable -y "{{ module_name }}:{{ module_stream }}:{{ module_version }}"
Expand Down
Loading