purestorage.flashblade.purefb_banner (1.17.0) — module

Configure Pure Storage FlashBlade GUI and SSH MOTD message

| "added in version" 1.4.0 of purestorage.flashblade"

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

preview | supported by community

Install collection

Install with ansible-galaxy collection install purestorage.flashblade:==1.17.0


Add to requirements.yml

  collections:
    - name: purestorage.flashblade
      version: 1.17.0

Description

Configure MOTD for Pure Storage FlashBlades.

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

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
  purestorage.flashblade.purefb_banner:
    banner: "Banner over\ntwo lines"
    state: present
    fb_url: 10.10.10.2
    api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete banner text
  purestorage.flashblade.purefb_banner:
    state: absent
    fb_url: 10.10.10.2
    api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641

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

fb_url:
    description:
    - FlashBlade management IP address or Hostname.
    type: str

api_token:
    description:
    - FlashBlade API token for admin privileged user.
    type: str