ctera.ctera.ctera_filer_network (2.2.17) — module

CTERA-Networks filer network configuration

Authors: Saimon Michelson (@saimonation), Ygal Blum (@ygalblum)

preview | supported by community

Install collection

Install with ansible-galaxy collection install ctera.ctera:==2.2.17


Add to requirements.yml

  collections:
    - name: ctera.ctera
      version: 2.2.17

Description

Configure the network of a CTERA-Networks filer


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Use DHCP
  ctera_filer_network:
    ctera_host: "{{ ctera_filer_hostname }}"
    ctera_user: "{{ ctera_filer_user }}"
    ctera_password: "{{ ctera_filer_password }}"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set DNS Server
  ctera_filer_network:
    primary_dns_server: 8.8.8.8
    ctera_host: "{{ ctera_filer_hostname }}"
    ctera_user: "{{ ctera_filer_user }}"
    ctera_password: "{{ ctera_filer_password }}"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set IP Address
  ctera_filer_network:
    address: 192.168.1.10
    subnet: 255.255.255.0
    gateway: 192.168.1.1
    primary_dns_server: 8.8.8.8
    ctera_host: "{{ ctera_filer_hostname }}"
    ctera_user: "{{ ctera_filer_user }}"
    ctera_password: "{{ ctera_filer_password }}"

Inputs

    
mode:
    choices:
    - dynamic
    - static
    default: dynamic
    description: IP addressing mode
    type: str

subnet:
    description: IP Subnet. Required if I(mode=static)
    type: str

address:
    description: IP Address. Required if I(mode=static)
    type: str

gateway:
    description: Default gateway. Required if I(mode=static)
    type: str

ctera_host:
    description: IP Address or FQDN of the CTERA Networks Host
    required: true
    type: str

ctera_port:
    description: Connection port to the Host
    type: int

ctera_user:
    description: User Name for communicating with the CTERA Networks Host
    required: true
    type: str

ctera_https:
    default: true
    description: Connect to the Host using HTTPS
    type: bool

ctera_password:
    description: Password of the user
    required: true
    type: str

primary_dns_server:
    description: Primary DNS Server. Required if I(mode=static)
    type: str

secondary_dns_server:
    description: Secondary DNS Server
    type: str

ctera_trust_certificate:
    default: false
    description: Trust unverified certificates
    type: bool