a108e6440f
We are facing some issues where the log upload to swift fails, but the role is always succeeding. To get some more information about the upload failures, we let the upload() method return those to the Ansible module and provide them in the module's JSON result. The equivalent change in the test-upload-logs-swift [1] role is validated in [2]. [1] https://review.opendev.org/#/c/735503/1 [2] https://review.opendev.org/#/c/737441/ Change-Id: Ie0d4ea2f3365600eae0e572e4c0790b131d3b13e |
||
---|---|---|
.. | ||
defaults | ||
library | ||
tasks | ||
__init__.py | ||
README.rst |
Upload logs to a swift container
This uploads logs to an OpenStack Object Store (Swift) container.
Role Variables
Complex argument which contains the cloud configuration in os-cloud-config (clouds.yaml) format. It is expected that this argument comes from a Secret.