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
)
This commit is contained in:
parent
5b73eaf317
commit
082d48b109
|
@ -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…
Reference in New Issue