ctera / ctera.ctera / 2.2.17 / module / ctera_filer_network CTERA-Networks filer network configuration Authors: Saimon Michelson (@saimonation), Ygal Blum (@ygalblum) preview | supported by communityctera.ctera.ctera_filer_network (2.2.17) — module
Install with ansible-galaxy collection install ctera.ctera:==2.2.17
collections: - name: ctera.ctera version: 2.2.17
Configure the network of a CTERA-Networks filer
- name: Use DHCP ctera_filer_network: ctera_host: "{{ ctera_filer_hostname }}" ctera_user: "{{ ctera_filer_user }}" ctera_password: "{{ ctera_filer_password }}"
- 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 }}"
- 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 }}"
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