37 lines
649 B
YAML
37 lines
649 B
YAML
---
|
|
|
|
- name: Display os_tweak role
|
|
ansible.builtin.debug:
|
|
var: base_config
|
|
vars:
|
|
base_config:
|
|
tasks:
|
|
- "install custom packages: {{ tweaks_install_pkg|join(' ') }}"
|
|
- configure bash
|
|
- configure git
|
|
- configure vim
|
|
tags:
|
|
- config_show
|
|
|
|
- name: Ensure base packages are installed
|
|
package:
|
|
name: "{{ tweaks_install_pkg }}"
|
|
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
|
|
|