Add sudo to dnf list command
Bringing over the fix from ansible-osbuild
This commit is contained in:
parent
ac11ea00f0
commit
eca999be4a
1 changed files with 2 additions and 2 deletions
|
|
@ -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}
|
||||
|
|
@ -61,4 +61,4 @@ ansible-playbook \
|
|||
schutzbot/test.yml
|
||||
|
||||
# Collect the systemd journal anyway if we made it all the way to the end.
|
||||
sudo journalctl --after-cursor=${JOURNALD_CURSOR} > systemd-journald.log
|
||||
sudo journalctl --after-cursor=${JOURNALD_CURSOR} > systemd-journald.log
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue