ocp-power-automation / ocp4-upi-powervm

OpenShift on IBM PowerVM servers managed using PowerVC
Apache License 2.0
27 stars 51 forks source link

Install latest ansible with required modules. #248

Closed cs-zhang closed 2 years ago

cs-zhang commented 2 years ago

The latest CentOS stream could not install ansible2.9.* which include all modules we need, now it just install latest ansible with core only, we need to install other modules manually. For RHEL, the ansible 2.9 will be installed.

Signed-off-by: CS Zhang zhangcho@us.ibm.com

yussufsh commented 2 years ago

@cs-zhang please evaluate the use of this default value. https://github.com/ocp-power-automation/ocp4-upi-powervm/blob/fa2518a96f6762f9a1152fbd86041507fd069861/variables.tf#L298-L300

cs-zhang commented 2 years ago

@yussufsh For rhel, the yum still install ansible 2.9.x with the enabled repo, and ansible-galaxy still work. Only the centos will install latest ansible.

ppc64le-cloud-bot commented 2 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cs-zhang, rpsene, 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: - ~~[OWNERS](https://github.com/ocp-power-automation/ocp4-upi-powervm/blob/master/OWNERS)~~ [cs-zhang,yussufsh] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment