-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from AcroMedia/add-support-for-aws-efs-access-p…
…oints Add support for aws efs access points
- Loading branch information
Showing
4 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
- name: Install efs tool build prerequisites | ||
apt: | ||
name: | ||
- git | ||
- binutils | ||
state: present | ||
|
||
- name: Download efs-utils | ||
git: | ||
repo: https://github.com/aws/efs-utils | ||
dest: "{{ nfs_client_efsutils_src_dir }}" | ||
update: no | ||
|
||
- name: Build efs-utils | ||
shell: "{{ nfs_client_efsutils_src_dir }}/build-deb.sh" | ||
args: | ||
chdir: "{{ nfs_client_efsutils_src_dir }}" | ||
creates: "{{ nfs_client_efsutils_src_dir }}/build/debbuild/amazon-efs-utils*deb" | ||
|
||
- name: Locate newly built deb package with find, as it will have a version number in it | ||
shell: > | ||
find {{ nfs_client_efsutils_src_dir }}/build/debbuild -name 'amazon-efs-utils-*.deb' -print -quit | ||
register: efs_utils_find_result | ||
|
||
- name: Install the amazon-efs-utils deb package | ||
apt: | ||
deb: "{{ efs_utils_find_result.stdout }}" | ||
state: present |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters