openafs_contrib.openafs.openafs_wait_for_registration (1.9.0) — module

Wait for the fileserver VLDB registration

Authors: Michael Meffie

preview | supported by community

Install collection

Install with ansible-galaxy collection install openafs_contrib.openafs:==1.9.0


Add to requirements.yml

  collections:
    - name: openafs_contrib.openafs
      version: 1.9.0

Description

Wait for the fileserver VLDB registration to be completed.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Wait for fileserver registration
  openafs_contrib.openafs.openafs_wait_for_registration:
    sleep: 10
    timeout: 600
    signal: no
  when:
    - afs_is_fileserver

Inputs

    
delay:
    default: 0
    description: Number of seconds to delay before waiting.
    type: int

sleep:
    default: 20
    description: Number of seconds to wait between retries.
    type: int

signal:
    default: true
    description:
    - If true, issue a XCPU signal to the fileserver to force it to resend the VLDB registration
      after C(sleep) seconds has expired.
    - By default, the fileserver will retry the VLDB registration every 5 minutes untill
      the registration succeeds. This option can be used to force the retry to happen
      sooner. As a side-effect, XCPU signal will trigger a dump of the fileserver hosts
      and callback tables, so this option must be used with caution.
    type: bool

timeout:
    default: 600
    description: Maximum time to wait in seconds.
    type: int