Skip to content

Commit

Permalink
Merge branch 'master' into readme-postgres-config
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Jan 18, 2024
2 parents 1117c21 + c5b7d48 commit e353215
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/add-repository/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
tags: add_repo

- block: # RedHat/CentOS
- name: Add repository GPG key
ansible.builtin.command: "rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux-{{ ansible_distribution_major_version }}"
when: ansible_distribution == "AlmaLinux"

- name: Add repository
ansible.builtin.yum_repository:
name: "{{ item.name }}"
Expand Down

0 comments on commit e353215

Please sign in to comment.