Skip to content

Instantly share code, notes, and snippets.

@github-somerandomguy-xyz
Last active April 16, 2020 09:48
Show Gist options
  • Save github-somerandomguy-xyz/0b98c3a78ec7cc99a9a824c82c714b6b to your computer and use it in GitHub Desktop.
Save github-somerandomguy-xyz/0b98c3a78ec7cc99a9a824c82c714b6b to your computer and use it in GitHub Desktop.
/roles/common/tasks/debian.yml
---
- name: dpkg --configure -a
shell: dpkg --configure -a
tags:
- packages
- common
- dpkg-reconf
- name: install system utils, packages and stuff...
package:
name:
- apt-transport-https
- curl
- figlet
- genisoimage
- git
- git-core
- goaccess
- htop
- libfontconfig
- libjson-xs-perl
- multitail
- ntp
- openssl
- python-pip
- rsync
- rsyslog
- software-properties-common
- sysstat
- vim
- vim-common
- wget
- zip
state: latest
update_cache: yes
cache_valid_time: 5400
allow_unauthenticated: yes
tags:
- packages
- common
# @link http://bencane.com/2012/07/08/sar-sysstat-linux-performance-statistics-with-ease/
- name: enable /etc/default/sysstat
lineinfile:
backup: yes
create: yes
dest: /etc/default/sysstat
regexp: '^ENABLED='
line: 'ENABLED="true"'
state: present
tags:
- common-config
- packages
- common
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment