spark/roles/nettools/tasks/main.yml
Pig Monkey 6ea4d5b563 configure sudo with sudoers.d/ files
Existing users should first run tasks with tagged with `sudo` to apply
these changes, and then install the latest `/etc/sudoers` file from the
sudo package (probably already on your system as `/etc/sudoers.pacnew`).

Reversing those two steps probably prevents you from sudoing.
2022-10-24 21:33:58 -07:00

60 lines
1.2 KiB
YAML

---
- name: Install MTR
pacman: name=mtr state=present
- name: Install net-tools
pacman: name=net-tools state=present
- name: Install bind-tools
pacman: name=bind-tools state=present
- name: Install whois
pacman: name=whois state=present
- name: Install netcat
pacman: name=gnu-netcat state=present
- name: Install lftp
pacman: name=lftp state=present
- name: Install nmap
pacman: name=nmap state=present
- name: Install tcpdump
pacman: name=tcpdump state=present
- name: Install sshuttle
pacman: name=sshuttle state=present
- name: Install pdsh
aur: name=pdsh user={{ user.name }}
tags:
- aur
- name: Install wireshark
pacman: name=wireshark-qt state=present
- name: Add user to wireshark group
user: name={{ user.name }} groups=wireshark append=yes
tags:
- user
- name: Install socat
pacman: name=socat state=present
- name: Install nethogs
pacman: name=nethogs state=present
- name: Install bmon
pacman: name=bmon state=present
- name: Install speedtest-cli
pacman: name=speedtest-cli state=present
- name: Install spiped
pacman: name=spiped state=present
- name: Install wireguard and kernel modules
pacman:
name: wireguard-tools
state: present