Repository navigation
Enable metadata folder settings in create mode - #2529
softwarefactory-delete-me[bot] merged 2 commits into
Conversation
|
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 5m 04s |
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
|
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 4m 55s |
|
Build succeeded (gate pipeline). ✔️ ansible-galaxy-importer SUCCESS in 5m 21s |
Backport to stable-9: 💚 backport PR created✅ Backport PR branch: Backported as #2530 🤖 @patchback |
SUMMARY
Enable metadata folder settings in create mode
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
amazon.aws.s3_object
ADDITIONAL INFORMATION
Default action in "create" mode, doesn't allow set owner and permissions over extra aws metadata.
Patch fix this issue.
Create a list of folders with owner "2:2"(ex: daemon:daemon or bin:bin) and permissions "40755"
- name: Create folders
aws_s3:
endpoint_url: "{{ S3FS_URL }}"
bucket: "{{ S3FS_BUCKET }}"
object: "{{ item }}"
mode: create
encrypt: false
validate_certs: false
metadata:
mode: "16877"
gid: "2"
uid: "2"
with_items:
- "{{ S3FS_FOLDER }}"
- "{{ S3FS_FOLDER }}/public"
- "{{ S3FS_FOLDER }}/preview"
- "{{ S3FS_FOLDER }}/private"
Reviewed-by: Mark Chappell
(cherry picked from commit fb4a804)
This is a backport of PR #2529 as merged into main (fb4a804). SUMMARY Enable metadata folder settings in create mode ISSUE TYPE Feature Pull Request COMPONENT NAME amazon.aws.s3_object ADDITIONAL INFORMATION Default action in "create" mode, doesn't allow set owner and permissions over extra aws metadata. Patch fix this issue. Create a list of folders with owner "2:2"(ex: daemon:daemon or bin:bin) and permissions "40755" - name: Create folders aws_s3: endpoint_url: "{{ S3FS_URL }}" bucket: "{{ S3FS_BUCKET }}" object: "{{ item }}" mode: create encrypt: false validate_certs: false metadata: mode: "16877" gid: "2" uid: "2" with_items: - "{{ S3FS_FOLDER }}" - "{{ S3FS_FOLDER }}/public" - "{{ S3FS_FOLDER }}/preview" - "{{ S3FS_FOLDER }}/private" Reviewed-by: Mark Chappell
SUMMARY
Enable metadata folder settings in create mode
ISSUE TYPE
COMPONENT NAME
amazon.aws.s3_object
ADDITIONAL INFORMATION
Default action in "create" mode, doesn't allow set owner and permissions over extra aws metadata.
Patch fix this issue.
Create a list of folders with owner "2:2"(ex: daemon:daemon or bin:bin) and permissions "40755"