Skip to content

user_storage.v2.shared.file#

Collection Note

This module is part of the nokia.eda_core_v1 collection. To install the collection, use:

ansible-galaxy collection install nokia.eda_core_v1
Added in version 0.3.0.

Synopsis#

  • Description will be added soon.

Parameters#

Parameter Defaults / Choices Comments
auth_token
str
required
HTTP authentication (Bearer authentication) string in the format of "Bearer TOKEN".
Required unless state is cronly.
base64_encode
bool
If true, file content will be base64-encoded before being returned
base64_encoded
bool
True if the content was base64-encoded before being sent.
base_url
str
required
EDA API URL including the schema and port (if non standard for the provided schema). Example - https://try.eda.demo:9443.
Required unless state is cronly.
ca_path
str
required
A path to the PEM-encoded CA certificate to use for TLS verification.
Required unless state is cronly.
file_content
str
required
The desired content of the user-storage file. This will be base64 decoded before storing if the request indicates that the content is base64 encoded.
path
str
required
Path for the file/directory being manipulated
state
str
required
Choices: absent, query, present State of the requested resource object.
tls_skip_verify
bool
required
A flag to control the TLS verification of the session.
Required unless state is cronly.

Authors#