-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Describe the solution you'd like
We need Ansible support for configuring and managing PowerScale SmartQuota notification settings in the dellemc.powerscale collection.
At present, quota usage and limits can be queried, but quota notification / alert configuration is not exposed through any Ansible module. This prevents full automation of quota management and alerting workflows.
The solution should introduce a new module or extend an existing one to allow:
Enabling / disabling quota notifications
Configuring warning thresholds (percentage or size-based)
Configuring hard-limit breach notifications
Configuring grace-period notifications
Querying existing quota notification settings
Idempotent configuration management
Example desired usage:
powerscale_quota_notification:
onefs_host: "{{ onefs_host }}"
onefs_username: "{{ onefs_user }}"
onefs_password: "{{ onefs_pass }}"
path: /ifs/data/projects
warning_threshold_percent: 80
hard_limit_notification: true
grace_period_notification: true
notification_enabled: true
state: present
Supported states:
present – ensure quota notification settings are applied
absent – disable quota notifications
query – return current quota notification configuration
Describe alternatives you've considered
External polling using Ansible or cron jobs
Periodically query quota usage and evaluate thresholds manually
Trigger alerts via email, Slack, or monitoring tools
This does not configure native PowerScale quota notifications and adds operational complexity
Prometheus / Grafana-based monitoring
Export quota metrics and alert externally
Requires additional infrastructure and does not manage OneFS-native notification settings
Manual configuration via OneFS WebUI
Not scalable
Error-prone
No Infrastructure-as-Code, drift detection, or auditability
Additional context
Quota notification configuration is a critical operational and compliance requirement in enterprise PowerScale environments
Lack of Ansible support prevents:
Full Infrastructure-as-Code adoption
Consistent quota alert policies across clusters
Automated audits and drift detection
Other quota-related operations are already automated via the dellemc.powerscale collection, making notification management the primary missing feature
This capability is especially important for AWX / Ansible Automation Platform users managing large PowerScale estates