marverix.netcat
Ansible Role: Netcat
This Ansible role installs Netcat on Linux.
Features
- ✔️ Installs Netcat
- ✔️ Choose which version to install:
- ✔️ Creates shortcuts for
nc
andnetcat
if they don't exist - ✔️ Verified with Molecule testing
Note: There are different versions of "netcat". For example, Debian has netcat-openbsd
or netcat-traditional
, which are not available for CentOS. That's why only the two versions mentioned above can be installed, as they are available on both Debian and CentOS. This way, you will have the same experience on all your machines.
Supported Platforms
- ✔️ Ubuntu 18.04 (Bionic)
- ✔️ Ubuntu 20.04 (Focal)
- ✔️ CentOS 7
- ✔️ CentOS 8
Requirements
None
Role Variables
Variable | Description | Default Value |
---|---|---|
netcat_install |
List of versions to install | ['ncat'] |
netcat_alias_to |
Which app should the nc and netcat shortcuts point to? |
ncat |
Dependencies
None
Example Playbook
The simplest version
--- - hosts: all roles: - marverix.netcat
Install
ncat
andcryptcat
; shortcuts should point tocryptcat
--- - hosts: all roles: - role: marverix.netcat vars: netcat_install: - ncat - cryptcat netcat_alias_to: cryptcat
License
ISC
Informazioni sul progetto
Ansible role that installs Netcat on Linux
Installa
ansible-galaxy install marverix.netcat
Licenza
isc
Download
137
Proprietario
Everyday normal Software Engineer