Skip to content

Add ansible-core to developer_setup install docs#585

Merged
Fryguy merged 1 commit intoManageIQ:masterfrom
agrare:add_ansible_core_to_debian_install
Jan 29, 2026
Merged

Add ansible-core to developer_setup install docs#585
Fryguy merged 1 commit intoManageIQ:masterfrom
agrare:add_ansible_core_to_debian_install

Conversation

@agrare
Copy link
Member

@agrare agrare commented Jan 29, 2026

ansible-galaxy is required for rake db:seed and is provided by the ansible-core apt package.

Related:

Ref: ManageIQ/manageiq-providers-proxmox#3 (comment)

Comment on lines 32 to 33
| dnf | `sudo dnf -y install @c-development libffi-devel postgresql-devel libxml2-devel libcurl-devel cmake python libssh2-devel` |
| yum | `sudo yum -y install @development libffi-devel postgresql-devel libxml2-devel libcurl-devel cmake python libssh2-devel` |
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO we should add to the rhel/fedora install as well, I need to look up what the package name is there

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe @bdunne knows

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like also ansible-core that is convenient

$ dnf provides ansible-galaxy
ansible-core-2.18.3-1.fc42.noarch : A radically simple IT automation system
Repo         : fedora
Matched From : 
Filename     : /usr/bin/ansible-galaxy

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay updated to include ansible-core in the dnf/yum commands (do any currently supported rhel variants still use only yum and not dnf?)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI says:

 ## Still Using YUM:
 - **CentOS 7** (until EOL June 2024, but still widely deployed)
 - **RHEL 7** (extended support until 2028)
 - **Oracle Linux 7**
 - **Amazon Linux 2** (still actively supported)
 - **Scientific Linux 7**
 - Older versions of Fedora (pre-22)

 ## Using DNF:
 - **RHEL 8, 9** (dnf is default, yum is a symlink to dnf)
 - **CentOS Stream 8, 9**
 - **Rocky Linux 8, 9**
 - **AlmaLinux 8, 9**
 - **Fedora 22+** (dnf since 2015)
 - **Amazon Linux 2023** (switched to dnf)
 - **Oracle Linux 8, 9**

 ## Key Points:
 - **RHEL/CentOS 8+**: `yum` command still exists but is actually a symbolic link to `dnf` for backward compatibility
 - **Legacy systems**: Many production environments still run RHEL/CentOS 7 with native yum
 - **Transition period**: We're in a multi-year transition where both coexist
 - **Amazon Linux**: AL2 uses yum, AL2023 uses dnf

 **In practice**: If you're writing scripts for broad compatibility, check for both or use the `yum` command on RHEL 8+ systems (since it's aliased to dnf anyway).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can drop yum

`ansible-galaxy` is required for `rake db:seed` and is provided by the
`ansible-core` apt and rpm packages.
@agrare agrare force-pushed the add_ansible_core_to_debian_install branch from a6b51f5 to 9bf6252 Compare January 29, 2026 17:09
@agrare agrare changed the title Add ansible-core to ubuntu/debian apt install Add ansible-core to developer_setup install docs Jan 29, 2026
@miq-bot
Copy link
Member

miq-bot commented Jan 29, 2026

Checked commit agrare@9bf6252 with ruby 3.1.7, rubocop 1.56.3, haml-lint 0.64.0, and yamllint
0 files checked, 0 offenses detected
Everything looks fine. ⭐

@Fryguy Fryguy merged commit bb7ff97 into ManageIQ:master Jan 29, 2026
1 check passed
github-actions bot pushed a commit to ManageIQ/manageiq.github.io that referenced this pull request Jan 29, 2026
@agrare agrare deleted the add_ansible_core_to_debian_install branch January 29, 2026 19:48
@agrare agrare added the bug label Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants