46 lines
714 B
YAML
46 lines
714 B
YAML
---
|
|
|
|
- name: Display os_tweak role
|
|
ansible.builtin.debug:
|
|
var: base_config
|
|
vars:
|
|
base_config:
|
|
tasks:
|
|
- install custom packages
|
|
- configure bash
|
|
- configure git
|
|
- configure vim
|
|
tags:
|
|
- config_show
|
|
|
|
- name: Ensure base packages are installed
|
|
package:
|
|
name:
|
|
- vim
|
|
- htop
|
|
- iftop
|
|
- iotop
|
|
- bash-completion
|
|
- lsof
|
|
- tree
|
|
- psmisc
|
|
- git
|
|
state: present
|
|
|
|
|
|
- name: Configure bash
|
|
copy:
|
|
src: bash_profile
|
|
dest: /etc/profile.d/bash_tweaks.sh
|
|
|
|
- name: Configure git
|
|
copy:
|
|
src: gitconfig
|
|
dest: /etc/gitconfig
|
|
|
|
- name: Configure vim
|
|
copy:
|
|
src: vimrc
|
|
dest: /etc/vim/vimrc.local
|
|
|