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

preflight: fix repo task names (backport #182) #196

Merged
merged 1 commit into from
Feb 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions cephadm-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
- name: rhcs related tasks
when: ceph_origin == 'rhcs'
block:
- name: enable red hat storage tools repository
- name: enable red hat ceph storage tools repository
rhsm_repository:
name: "rhceph-{{ ceph_rhcs_version }}-tools-for-rhel-{{ ansible_facts['distribution_major_version'] }}-{{ ansible_facts['architecture'] }}-rpms"

Expand All @@ -52,14 +52,14 @@
- name: enable repo from download.ceph.com
when: ceph_origin == 'community'
block:
- name: configure red hat ceph community repository stable key
- name: configure ceph community repository stable key
rpm_key:
key: "{{ ceph_stable_key }}"
state: present
register: result
until: result is succeeded

- name: configure red hat ceph stable community repository
- name: configure ceph community stable repository
yum_repository:
name: ceph_stable
description: Ceph Stable $basearch repo
Expand All @@ -72,7 +72,7 @@
register: result
until: result is succeeded

- name: configure red hat ceph stable noarch community repository
- name: configure ceph community stable noarch repository
yum_repository:
name: ceph_stable_noarch
description: Ceph Stable noarch repo
Expand All @@ -88,13 +88,13 @@
- name: enable repo from shaman - dev
when: ceph_origin == 'shaman'
block:
- name: fetch ceph red hat development repository
- name: fetch ceph development repository
uri:
url: https://shaman.ceph.com/api/repos/ceph/{{ ceph_dev_branch }}/{{ ceph_dev_sha1 }}/centos/{{ ansible_facts['distribution_major_version'] }}/repo?arch={{ ansible_facts['architecture'] }} # noqa 204
return_content: yes
register: ceph_dev_yum_repo

- name: configure ceph red hat development repository
- name: configure ceph development repository
copy:
content: "{{ ceph_dev_yum_repo.content }}"
dest: /etc/yum.repos.d/ceph-dev.repo
Expand Down