gantsign.fd

Ansible Role: fd

Tests Ansible Galaxy License

This role installs fd, an easy-to-use alternative to find.

Requirements

  • Ansible version 2.9 or higher
  • A Linux operating system, such as:
    • Debian Family:
      • Debian versions: Stretch (9), Buster (10), Bullseye (11)
      • Ubuntu versions: Bionic (18.04), Focal (20.04)
    • Note: Other versions might work but haven't been tested.

Role Variables

You can change the following variables in this role (default values are listed):

# Version of fd to install
fd_version: '8.7.0'

# SHA256 checksum for the fd package
fd_redis_sha256sum: 'ea3ef84bfd90c483125dfe4b50af86b405857389340159e401f63eec5cabaf80'

# Directory to save downloaded fd files
fd_download_dir: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads') }}"

Example Playbook

Here's how to use this role in a playbook:

- hosts: servers
  roles:
    - role: gantsign.fd

More Roles From GantSign

You can find additional roles from GantSign on Ansible Galaxy.

Development & Testing

This role uses Molecule for development and testing. It is unit tested with Testinfra and pytest.

To develop or test this role, ensure you have the following installed:

To simplify installation, there is a tool called Molecule Wrapper. This script installs Molecule and its dependencies (excluding Linux) and then runs Molecule with the command you give it.

To test this role using Molecule Wrapper, run this command from the main project folder:

./moleculew test

Note: You may need sudo permissions to install some dependencies.

License

MIT License

Author Information

John Freeman

GantSign Ltd.
Company No. 06109112 (registered in England)

Informazioni sul progetto

Role for installing fd the user-friendly alternative to find.

Installa
ansible-galaxy install gantsign.fd
Licenza
mit
Download
2.4k
Proprietario