purestorage.flashblade.purefb_syslog (1.17.0) — module

Configure Pure Storage FlashBlade syslog settings

| "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 syslog configuration for Pure Storage FlashBlades.

Add or delete an individual syslog server to the existing list of serves.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete exisitng syslog server entries
  purestorage.flashblade.purefb_syslog:
    name: syslog1
    state: absent
    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: Set array syslog servers
  purestorage.flashblade.purefb_syslog:
    state: present
    name: syslog1
    address: syslog1.com
    protocol: udp
    fb_url: 10.10.10.2
    api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641

Inputs

    
name:
    description:
    - Unique identifier for the syslog server address
    required: true
    type: str

port:
    description:
    - Port at which the server is listening. If no port is specified the system will use
      514
    type: str

state:
    choices:
    - absent
    - present
    default: present
    description:
    - Create or delete syslog servers configuration
    type: str

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

address:
    description:
    - Syslog server address. This field supports IPv4 or FQDN. An invalid IP addresses
      will cause the module to fail. No validation is performed for FQDNs.
    type: str

protocol:
    choices:
    - tcp
    - tls
    - udp
    description:
    - Protocol which server uses
    type: str

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