Add aws_s3 action plugin to find source files as expected (#35028)

People expect to be able to upload files to s3 using standard
locations for files.

Providing an action plugin that effectively rewrites the `src`
key to the result of finding such a file is a great help.

Tests added, and IAM permissions corrected
This commit is contained in:
Will Thames 2018-01-20 08:11:42 +10:00 committed by Sloane Hertel
commit 4d58d16793
4 changed files with 83 additions and 2 deletions

View file

@ -15,8 +15,8 @@
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::ansible_test_*",
"arn:aws:s3:::ansible_test_*/*"
"arn:aws:s3:::ansible-test-*",
"arn:aws:s3:::ansible-test-*/*"
]
}
]