ctera.ctera.ctera_filer_cloud_cache (2.2.17) — module

CTERA-Networks Filer Cloud Sync configuration and management

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

Enable or Disable Cloud-Sync

Refresh folders


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enable Caching Gateway and start sync w/o refresh
  ctera_filer_cloud_cache:
    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: Enable Caching Gateway and start sync with refresh
  ctera_filer_cloud_cache:
    refresh_folders: True
    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: Enable Caching Gateway w/o sync
  ctera_filer_cloud_cache:
    sync_enabled: False
    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: Disable Caching Gateway
  ctera_filer_cloud_cache:
    enabled: False
    ctera_host: "{{ ctera_filer_hostname }}"
    ctera_user: "{{ ctera_filer_user }}"
    ctera_password: "{{ ctera_filer_password }}"

Inputs

    
enabled:
    default: true
    description:
    - Whether Cloud Cache should be enabled or disabled
    type: bool

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

sync_enabled:
    default: true
    description:
    - Whether Cloud Sync should be enabled or disabled
    type: bool

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

force_eviction:
    default: false
    description:
    - Force the execution of the file eviction process
    type: bool

refresh_folders:
    default: false
    description:
    - Whether to execute refresh folders
    type: bool

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