Skip to content

Commit

Permalink
Fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ansiblejunky committed Sep 12, 2023
1 parent c4b45b1 commit d28d069
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions execution-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ additional_build_steps:
# Install Microsoft azure-cli command line tool (needs dnf to install from url)

Check warning on line 40 in execution-environment.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[line-length]

Line too long (83 > 80 characters)
# https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=dnf
- >
RUN $PKGMGR install -y dnf &&
rpm --import https://packages.microsoft.com/keys/microsoft.asc &&
dnf -y install -y https://packages.microsoft.com/config/rhel/9.0/packages-microsoft-prod.rpm &&
RUN $PKGMGR install -y dnf &&
rpm --import https://packages.microsoft.com/keys/microsoft.asc &&
dnf -y install -y https://packages.microsoft.com/config/rhel/9.0/packages-microsoft-prod.rpm &&

Check warning on line 45 in execution-environment.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[line-length]

Line too long (101 > 80 characters)
$PKGMGR -y install azure-cli
# Install HashiCorp Packer (/usr/bin/packer)
- >
Expand All @@ -61,8 +61,8 @@ additional_build_steps:
- RUN pip3 check
# Clean up
- >
RUN $PKGMGR update -y &&
$PKGMGR clean all &&
rm -rf /var/cache/{dnf,yum} &&
rm -rf /var/lib/dnf/history.* &&
RUN $PKGMGR update -y &&
$PKGMGR clean all &&
rm -rf /var/cache/{dnf,yum} &&
rm -rf /var/lib/dnf/history.* &&
rm -rf /var/log/*

0 comments on commit d28d069

Please sign in to comment.