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
Include rh_storage repo/installs when specified #810
Conversation
key: "{{ ceph_stable_rh_storage_repository_path }}/RPM-GPG-KEY-redhat-release" | ||
state: present | ||
when: | ||
- ceph_stable_rh_storage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you'll need to check ceph_stable_rh_storage
anywhere in this file because the when statement that includes this file already does that check.
test this please don't be ridiculous |
👍 |
test this please |
test this please because these do not look related. @leseb mind browsing these changes? |
Looks like we are still hitting, but only on CentOS:
|
state: present | ||
with_items: redhat_package_dependencies | ||
when: | ||
- ansible_distribution == "RedHat" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not needed because of the include already checks for RedHat.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the dependencies are different from redhat to centos, we have both:
redhat_package_dependencies
centos_package_dependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right my bad.
test this please |
@leseb yeah those CentOS7 machines are coming without a disk from OVH :( |
test this please |
Signed-off-by: Alfredo Deza <adeza@redhat.com> Resolves: rhbz#1339096
…en ceph_stable_rh_storage is on: Signed-off-by: Alfredo Deza <adeza@redhat.com> Resolves: rhbz#1339096
Before the repo configuration for ISOs for RH Storage was in a file that would be included only when:
Which would not work for rh_storage. This PR normalizes using the same convention for install_rh_storage_on_debian to create a new install_rh_storage_on_redhat.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1339096