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 75e5b5d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions bootstrap/roles/appliance-build.bootstrap/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,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

Check warning on line 64 in bootstrap/roles/appliance-build.bootstrap/tasks/main.yml

View workflow job for this annotation

GitHub Actions / check-ansible

syntax-check[unknown-module]

couldn't resolve module/action 'community.general.pip'. This often indicates a misspelling, missing collection, or incorrect module path.

Check warning on line 64 in bootstrap/roles/appliance-build.bootstrap/tasks/main.yml

View workflow job for this annotation

GitHub Actions / check-ansible

syntax-check[unknown-module]

couldn't resolve module/action 'community.general.pip'. This often indicates a misspelling, missing collection, or incorrect module path.
community.general.pip:
name: awscli
break_system_packages: true
become: true

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

0 comments on commit 75e5b5d

Please sign in to comment.