Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To install ansible-core on RHEL 8.6 and later #263

Merged

Conversation

aishwaryabk
Copy link
Collaborator

Signed-off-by: Aishwarya Kamat aishwarya.kamat@ibm.com

Signed-off-by: Aishwarya Kamat <aishwarya.kamat@ibm.com>
Copy link
Collaborator

@Prajyot-Parab Prajyot-Parab left a comment

Choose a reason for hiding this comment

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

/lgtm

@Prajyot-Parab
Copy link
Collaborator

/cc @yussufsh

@yussufsh
Copy link
Contributor

@aishwaryabk did you try running this on CentOS stream image? both 8 and 9.
I did install a simple Centos8 stream image and I could not find ansible on it, ansible-core is available.

[root@bastion ~]# cat /etc/redhat-release
CentOS Stream release 8
[root@bastion ~]# yum repolist
repo id                                                                                      repo name
appstream                                                                                    CentOS Stream 8 - AppStream
baseos                                                                                       CentOS Stream 8 - BaseOS
extras                                                                                       CentOS Stream 8 - Extras
[root@bastion ~]# yum list | grep ansible
ansible-collection-microsoft-sql.noarch                 1.2.4-1.el8                                                appstream
ansible-collection-redhat-rhel_mgmt.noarch              1.1.0-2.el8                                                appstream
ansible-core.ppc64le                                    2.14.1-1.el8                                               appstream
ansible-freeipa.noarch                                  1.9.0-1.el8                                                appstream
ansible-freeipa-tests.noarch                            1.9.0-1.el8                                                appstream
ansible-pcp.noarch                                      2.2.5-1.el8                                                appstream
ansible-test.ppc64le                                    2.14.1-1.el8                                               appstream
centos-release-ansible-29.noarch                        1-2.el8                                                    extras

@aishwaryabk
Copy link
Collaborator Author

aishwaryabk commented Jan 30, 2023

@yussufsh I had tried on Centos8-stream and it installed

ansible [core 2.13.5]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.9/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.9.16 (main, Jan 17 2023, 19:02:02) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)]
  jinja version = 3.1.2
  libyaml = True

@aishwaryabk
Copy link
Collaborator Author

yum install -y ansible installs ansible [core 2.13.5]
whereas yum install -y ansible-core installs ansible-core 2.14.1-1.el8.
As per the code, it will install ansible [core 2.13.5]

@yussufsh
Copy link
Contributor

yussufsh commented Feb 3, 2023

/approve
As per results given by @aishwaryabk

@ppc64le-cloud-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aishwaryabk, Prajyot-Parab, yussufsh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ppc64le-cloud-bot ppc64le-cloud-bot merged commit f39ad04 into ocp-power-automation:main Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants