Skip to content

[FEATURE]:New Ansible module for quota notifications #221

@redveera2000

Description

@redveera2000

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssue requires triage.type/feature-requestThis is the default label associated with a feature request issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions