CI: Consolidate `apt-get install`s

pull/1247/head
Alex Willmer 12 months ago
parent 26507481b1
commit 0b216c815a

@ -71,11 +71,6 @@ with ci_lib.Fold('job_setup'):
ci_lib.dump_file(inventory_path)
if not ci_lib.exists_in_path('sshpass'):
ci_lib.run("sudo apt-get update")
ci_lib.run("sudo apt-get install -y sshpass")
with ci_lib.Fold('ansible'):
playbook = os.environ.get('PLAYBOOK', 'all.yml')
try:

@ -96,7 +96,7 @@ jobs:
set -o errexit -o nounset -o pipefail
sudo apt-get update
sudo apt-get install -y python2-dev python3-pip virtualenv
sudo apt-get install -y python2-dev python3-pip sshpass virtualenv
- name: Show Python versions
run: |
set -o errexit -o nounset -o pipefail

Loading…
Cancel
Save