ansible-powerstore
ansible-powerstore copied to clipboard
[QUESTION]: Is there a module to set the MOTD Message/Security Banner?
How can the Team help you today?
Is there a module to set the MOTD Message/Security Banner? I am not seeing an included ansible module method.
@amlucent, it is currently on our backlog and will be delivered in future release. For now, one option would be to use the ansible.builtin.uri
module to make a direct REST API call:
- GET the login banner details (https://developer.dell.com/apis/3898/versions/3.6.0/reference/openapi.json/paths/~1login_banner/get)
- Use the banner ID returned in the response to step1 to PATCH the login banner - https://developer.dell.com/apis/3898/versions/3.6.0/reference/openapi.json/paths/~1login_banner~1%7Bid%7D/patch