mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
move system monitoring tools into their own role
This commit is contained in:
parent
e57dce556d
commit
6532ba8a46
3 changed files with 31 additions and 6 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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'] }
|
||||
|
|
|
|||
30
roles/sysmon/tasks/main.yml
Normal file
30
roles/sysmon/tasks/main.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue