Skip to content

Conversation

@beerfranz
Copy link
Contributor

SUMMARY

Add support of aarch64 architecture for redhat/yum installation (already supported for debian family)

use ansible_architecture variable instead of string 'x86_64' in yum repo url.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

role mongodb_repository / defaults variables

ADDITIONAL INFORMATION

The current workaround is to redefine the redhat var, like in the playbook for example:

---
- name: Install Mongodb server
  hosts: mongodb
    - role: community.mongodb.mongodb_linux
      become: yes
      tags: [ 'mongodb_linux', 'mongodb' ]
    - role: community.mongodb.mongodb_repository
      become: yes
      tags: [ 'mongodb_repository', 'mongodb' ]
      vars:
        redhat:
          rpm_key_key: "https://www.mongodb.org/static/pgp/server-{{ mongodb_version }}.asc"
          yum_baseurl: "https://repo.mongodb.org/yum/{{ 'amazon' if ansible_distribution == 'Amazon' else 'redhat'  }}/{{ ansible_facts.distribution_major_version }}/mongodb-org/{{ mongodb_version }}/{{ ansible_architecture }}/"
          yum_gpgkey: "https://www.mongodb.org/static/pgp/server-{{ mongodb_version }}.asc"
          yum_gpgcheck: true
          yum_description: "Official MongoDB {{ mongodb_version }} yum repo"

…ible_architecture variable instead of string 'x86_64'
@codecov
Copy link

codecov bot commented Nov 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.66%. Comparing base (e7679c9) to head (7d6dca3).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #724   +/-   ##
=======================================
  Coverage   73.66%   73.66%           
=======================================
  Files           6        6           
  Lines         934      934           
  Branches      143      143           
=======================================
  Hits          688      688           
  Misses        210      210           
  Partials       36       36           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rhysmeister rhysmeister merged commit a5a4da3 into ansible-collections:master Nov 5, 2025
199 of 203 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants