Skip to content

Commit

Permalink
NGX-753: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
combssm committed Aug 6, 2023
1 parent d736404 commit 9bcb0d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tasks/packages/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
ansible.builtin.package:
name: https://rpms.remirepo.net/enterprise/remi-release-{{- ansible_distribution_major_version }}.rpm

# FIXME: Find a better way to enable a repo prior to installing packages
# FIXME: Idempotence is broken on this task. Anything we can hook onto?
- name: (RedHat 9) Enable CRB repository
ansible.builtin.raw: dnf config-manager --set-enabled crb
when: ansible_distribution_major_version == 9 and ansible_os_family == "RedHat"
changed_when: result.rc > 0
register: result

# FIXME: Find a better way to enable a repo prior to installing packages
# FIXME: Idempotence is broken on this task. Anything we can hook onto?
- name: (RedHat) Disable current Remi PHP repository (if version changing)
Expand Down

0 comments on commit 9bcb0d6

Please sign in to comment.