Skip to content

Commit

Permalink
Install awscli system-wide via pip
Browse files Browse the repository at this point in the history
  • Loading branch information
palash-gandhi committed Jan 24, 2025
1 parent d7a8fc6 commit aa2a108
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions bootstrap/roles/appliance-build.bootstrap/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
- openjdk-8-jdk-headless
- pigz
- python3-passlib
- python3-pip
- qemu-system
- rename
- shellcheck
Expand All @@ -59,12 +60,13 @@
state: present
update_cache: true

# aws-cli is distributed via snap on 24.04. While the package is not required by the product,
# awscli is distributed via pip or snap on 24.04. While the package is not required by the product,
# it is required by appliance-build itself.
- name: Install aws-cli snap package
community.general.snap:
name: aws-cli
classic: true
- name: Install awscli python package
ansible.builtin.pip:
name: awscli
break_system_packages: true
become: true

- name: Load ZFS kernel module.
community.general.modprobe:
Expand Down

0 comments on commit aa2a108

Please sign in to comment.