move system monitoring tools into their own role

This commit is contained in:
Pig Monkey 2020-05-16 19:04:26 -07:00
parent e57dce556d
commit 6532ba8a46
3 changed files with 31 additions and 6 deletions

View file

@ -71,15 +71,11 @@ base_packages:
- tmux
- git
- rsync
- glances
- coreutils
- moreutils
- dateutils
- bc
- ranger
- strace
- lsof
- sysstat
- arch-wiki-lite
- arch-wiki-docs
- python-keyring
@ -92,8 +88,6 @@ base_packages:
- screen
- termdown
- fzf
- smartmontools
- htop
- cpulimit
filesystem_packages:

View file

@ -4,6 +4,7 @@
roles:
- { role: base, tags: ['base'] }
- { role: gnupg, tags: ['gnupg'] }
- { role: sysmon, tags: ['sysmon'] }
- { role: cron, tags: ['cron'] }
- { role: microcode, tags: ['microcode'], when: "'GenuineIntel' in ansible_processor" }
- { role: hardened, tags: ['hardened'] }

View file

@ -0,0 +1,30 @@
---
- name: Install sysstat
pacman:
name: sysstat
state: present
- name: Install glances
pacman:
name: glances
state: present
- name: Install htop
pacman:
name: htop
state: present
- name: Install lsof
pacman:
name: lsof
state: present
- name: Install strace
pacman:
name: strace
state: present
- name: Install smartmontools
pacman:
name: smartmontools
state: present