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

Ansible install fails for bastion as CentOS #174

Closed
yussufsh opened this issue Feb 24, 2021 · 0 comments · Fixed by #175
Closed

Ansible install fails for bastion as CentOS #174

yussufsh opened this issue Feb 24, 2021 · 0 comments · Fixed by #175
Assignees
Labels
bug Something isn't working

Comments

@yussufsh
Copy link
Contributor

After recent change #159 the Ansible install fails for bastion as CentOS.

This is happening because enable_repos resource does not run for CentOS server where we do not provide subscription details.

module.bastion.null_resource.bastion_packages (remote-exec): Connected!
module.bastion.null_resource.bastion_packages (remote-exec): Last metadata expiration check: 0:00:31 ago on Wed 24 Feb 2021 02:13:37 PM UTC.
module.bastion.null_resource.bastion_packages (remote-exec): No match for argument: ansible
module.bastion.null_resource.bastion_packages (remote-exec): Error: Unable to find a match: ansible
@yussufsh yussufsh added the bug Something isn't working label Feb 24, 2021
@yussufsh yussufsh self-assigned this Feb 24, 2021
yussufsh added a commit to yussufsh/ocp4-upi-powervm that referenced this issue Feb 24, 2021
Fixes ocp-power-automation#174

Signed-off-by: Yussuf Shaikh <yussuf.shaikh@ibm.com>
yussufsh added a commit that referenced this issue Feb 24, 2021
* Fix ansible install on CentOS

Fixes #174

Signed-off-by: Yussuf Shaikh <yussuf.shaikh@ibm.com>

* Remove stale repo fix

Signed-off-by: Yussuf Shaikh <yussuf.shaikh@ibm.com>
yussufsh added a commit to yussufsh/ocp4-upi-powervm that referenced this issue Feb 24, 2021
* Fix ansible install on CentOS

Fixes ocp-power-automation#174

Signed-off-by: Yussuf Shaikh <yussuf.shaikh@ibm.com>

* Remove stale repo fix

Signed-off-by: Yussuf Shaikh <yussuf.shaikh@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant