-
Notifications
You must be signed in to change notification settings - Fork 4
Install via official package repository for Ubuntu #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| --- | ||
| - name: Update the package cache | ||
| ansible.builtin.package: | ||
| update_cache: true | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| --- | ||
| - name: Add official aws/efs-utils repo | ||
| block: | ||
| - name: Install prerequisites so apt can use DEB822 repos | ||
| ansible.builtin.package: | ||
| name: | ||
| - python3-debian | ||
|
|
||
| - name: Add the official aws/efs-utils repo | ||
| ansible.builtin.deb822_repository: | ||
| components: | ||
| - main | ||
| name: efs-utils | ||
| signed_by: https://amazon-efs-utils.aws.com/efs-utils-armored.gpg | ||
| suites: | ||
| - "{{ ansible_facts['distribution_version'] }}" | ||
|
Comment on lines
+10
to
+16
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please see commit f824239. |
||
| uris: | ||
| - >- | ||
| https://amazon-efs-utils.aws.com/repo/deb/ubuntu/{{ | ||
| ansible_facts['distribution_version'] }} | ||
| notify: | ||
| - Update the package cache | ||
|
|
||
| # We need the handler that updates the apt package cache to run | ||
| # now if it is necessary. | ||
| - name: Flush handlers | ||
| ansible.builtin.meta: flush_handlers | ||
|
Comment on lines
+9
to
+27
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| - name: Install amazon-efs-utils | ||
| ansible.builtin.package: | ||
| name: | ||
| - amazon-efs-utils | ||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to keep the functionality generic here, in the event that aws/efs-utils ever offers pre-built packages for, e.g., RedHat platforms