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
This commit is contained in:
parent
18608d156c
commit
9315f04b0c
|
@ -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