Browse Source

Fix ceph-ansible permissions when checking the repo name

The purpose of this fix is to address a bug hit during
upgrades: in order to run yum info the current user should
be able to download metadata for repositories and a privileges
escalation is required by pkg manager.

Change-Id: I248fc36ab3b1f4a81a6884b18fba5fcc0cff08ea
(cherry picked from commit a87793fcd9)
changes/20/739620/1
Francesco Pantano 1 month ago
committed by Giulio Fidente
parent
commit
082d48b109
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      roles/ceph/tasks/ceph-ansible-installed.yaml

+ 1
- 0
roles/ceph/tasks/ceph-ansible-installed.yaml View File

@@ -23,6 +23,7 @@

- name: Get ceph-ansible repository
shell: "yum info ceph-ansible | awk '/From repo/ {print $4}'"
become: true
register: repo
changed_when: false



Loading…
Cancel
Save