Select Git revision
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
shell.yml 3.26 KiB
---
# file: roles/common/tasks/shell.yml
- name: ensure installation of basic shell commands
apt:
name:
- git
- vim
- vim-scripts
- zsh
state: present
install_recommends: false
tags:
- packages
- shell
- name: ensure installaton of some additional software
apt:
name:
- aptitude
- atop
- build-essential
- curl
- dnsutils
- ethtool
- file
- git-extras
- htop
- iotop
- less
- lsof
- man
- mtr-tiny
- ncurses-term
- nmap
- pv
- reptyr
- rsync
- screen
- strace
- sysstat
- tcpdump
- tmux
- tree
- whois
- zstd
state: present
tags:
- packages
- shell
- name: check installed software
package_facts:
manager: auto
- name: install emacs-nox iff emacs-gtk is not installed
apt:
name: emacs-nox
when: "'emacs-gtk' not in ansible_facts.packages"
- name: ensure installation of variable additional software
apt:
name: "{{ shell_software }}"
state: present
tags:
- packages
- shell
- name: ensure installation of modern additional software
apt: