ansible / ansible.builtin / v2.9.27 / module / purefa_alert Configure Pure Storage FlashArray alert email settings | "added in version" 2.9 of ansible.builtin" Authors: Simon Dodsley (@sdodsley) preview | supported by communityansible.builtin.purefa_alert (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
Configure alert email configuration for Pure Storage FlashArrays.
Add or delete an individual syslog server to the existing list of serves.
- name: Add new email recipient and enable, or enable existing email purefa_alert: address: "user@domain.com" enabled: true state: present fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592
- name: Delete existing email recipient purefa_alert: state: absent address: "user@domain.com" fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592
state: choices: - absent - present default: present description: - Create or delete alert email type: str fa_url: description: - FlashArray management IPv4 address or Hostname. required: true type: str address: description: - Email address (valid format required) required: true type: str enabled: default: true description: - Set specified email address to be enabled or disabled type: bool api_token: description: - FlashArray API token for admin privileged user. required: true type: str