openafs_contrib.openafs.openafs_install_bdist (1.9.0) — module

Install OpenAFS binaries built from source

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

Install OpenAFS binaries built from source code. This module will copy the files in a binary distribution tree to the system directories. Run this module as root. The paths to the installed commands are saved as Ansible local facts.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Build OpenAFS from source
  openafs_contrib.openafs.openafs_build:
    projectdir: ~/src/openafs
    target: install
    path: /tmp/openafs/bdist
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Install OpenAFS binaries as root
  become: yes
  openafs_contrib.openafs.openafs_install:
    path: /tmp/openafs/bdist
    exclude: /usr/vice/etc/*

Inputs

    
path:
    description: 'Absolute path to the installation file tree to be installed.

      '
    required: true
    type: path

exclude:
    description: 'List of file patterns to be excluded.

      '
    type: list

Outputs

commands:
  description: Command paths
  returned: success
  sample:
    pts: /usr/bin/pts
    vos: /usr/sbin/vos
  type: dict
excluded:
  description: Files excluded from the installation
  returned: success
  sample:
  - /usr/vice/etc/afs.conf
  type: list
files:
  description: Files installed
  returned: success
  sample:
  - /usr/bin/pts
  - /usr/sbin/vos
  type: list
logfiles:
  description: Log files written for troubleshooting
  returned: always
  sample:
  - /tmp/logs/install.log
  type: list
msg:
  description: Informational message.
  returned: always
  sample: Install completed
  type: string