Add sudo to dnf list command

Bringing over the fix from ansible-osbuild
This commit is contained in:
Major Hayden 2020-05-22 14:04:26 -05:00 committed by GitHub
parent 0640610f54
commit 89b9e541e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ priority=5
EOF
# Verify that the repository we added is working properly.
dnf list all | grep osbuild-mock
sudo dnf list all | grep osbuild-mock
# Create temporary directories for Ansible.
sudo mkdir -vp /opt/ansible_{local,remote}