ansible.builtin.purefa_banner (v2.9.27) — module

Configure Pure Storage FlashArray GUI and SSH MOTD message

| "added in version" 2.9 of ansible.builtin"

Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com>

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Configure MOTD for Pure Storage FlashArrays.

This will be shown during an SSH or GUI login to the array.

Multiple line messages can be achieved using \\n.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set new banner text
  purefa_banner:
    banner: "Banner over\ntwo lines"
    state: present
    fa_url: 10.10.10.2
    api_token: e31060a7-21fc-e277-6240-25983c6c4592
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete banner text
  purefa_banner:
    state: absent
    fa_url: 10.10.10.2
    api_token: e31060a7-21fc-e277-6240-25983c6c4592

Inputs

    
state:
    choices:
    - present
    - absent
    default: present
    description: Set ot delete the MOTD
    type: str

banner:
    default: Welcome to the machine...
    description: Banner text, or MOTD, to use
    type: str

fa_url:
    description:
    - FlashArray management IPv4 address or Hostname.
    required: true
    type: str

api_token:
    description:
    - FlashArray API token for admin privileged user.
    required: true
    type: str