darkwizard242.subfinder

Ansible Role: Subfinder

This role helps you install the extended version of subfinder on Debian/Ubuntu and EL systems. Subfinder is a tool used to discover subdomains.

Requirements

No special requirements.

Role Variables

The available variables are listed below (found in defaults/main.yml):

List of Variables:

subfinder_app: subfinder
subfinder_version: 2.6.6
subfinder_os: "{{ ansible_system | lower }}"
subfinder_architecture_map:
  amd64: amd64
  arm: arm64
  x86_64: amd64
  armv6l: armv6
  armv7l: armv7
  aarch64: arm64
  32-bit: "386"
  64-bit: amd64
subfinder_dl_url: "https://github.com/projectdiscovery/{{ subfinder_app }}/releases/download/v{{ subfinder_version }}/{{ subfinder_app }}_{{ subfinder_version }}_{{ subfinder_os}}_{{ subfinder_architecture_map[ansible_architecture] }}.zip"
subfinder_bin_path: /usr/local/bin
subfinder_file_owner: root
subfinder_file_group: root
subfinder_file_mode: '0755'

Variable Descriptions:

Variable Description
subfinder_app The name of the application to install (subfinder).
subfinder_version The version to install, default is 2.6.6.
subfinder_os The type of operating system, used to find the right binaries.
subfinder_architecture_map Maps OS architecture to set the correct binaries.
subfinder_dl_url The URL for downloading the subfinder binary.
subfinder_bin_path The default path where the subfinder binary will be stored, typically /usr/local/bin.
subfinder_file_owner The owner of the subfinder binary file.
subfinder_file_group The group for the subfinder binary file.
subfinder_file_mode The permission set for the subfinder binary file.

Dependencies

None.

Example Playbook

For the default installation of subfinder in Ansible playbooks:

- hosts: servers
  roles:
    - darkwizard242.subfinder

To customize the version of subfinder being installed:

- hosts: servers
  roles:
    - darkwizard242.subfinder
  vars:
    subfinder_version: 2.3.1

To change the location where the subfinder binary is installed:

- hosts: servers
  roles:
    - darkwizard242.subfinder
  vars:
    subfinder_bin_path: /bin/

License

MIT

Author Information

This role was created by Ali Muhammad.

Informazioni sul progetto

Subfinder installation/uninstallation. Subfinder is a subdomain discovery tool.

Installa
ansible-galaxy install darkwizard242.subfinder
Licenza
mit
Download
4.3k
Proprietario
Senior DevOps/CloudOps Engineer. Dedicated to Automating everything I come across. Love to work on and learn new technologies/tools everyday!