From 1c0a79731ae811ea2361afc7f79e5729558aa237 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Thu, 4 Nov 2021 13:52:54 +0200 Subject: [PATCH] Added ansible callbacks to time plays --- ansible.cfg | 2 +- playbooks/files/dotfiles/vimrc | 13 +++++++++---- playbooks/workstation.yml | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index a4591d8..12c1609 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -2,4 +2,4 @@ output_dir = /tmp/artifacts transport = local -callback_whitelist = junit +callback_whitelist = junit, timer, profile_roles diff --git a/playbooks/files/dotfiles/vimrc b/playbooks/files/dotfiles/vimrc index 4a71458..9c4384e 100644 --- a/playbooks/files/dotfiles/vimrc +++ b/playbooks/files/dotfiles/vimrc @@ -28,7 +28,12 @@ " Set encoding to utf8 set encoding=UTF-8 - +" Set no compatible +set nocompatible +" File type plugin on +filetype plugin on +" Turn on syntax +syntax on " install plugins automatically autocmd VimEnter * \ if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) @@ -108,13 +113,13 @@ let NERDTreeIgnore=['\.git$'] " Theme settings "============================================================================== -"let &t_8f = "\[38;2;%lu;%lu;%lum" -"let &t_8b = "\[48;2;%lu;%lu;%lum" +let &t_8f = "\[38;2;%lu;%lu;%lum" +let &t_8b = "\[48;2;%lu;%lu;%lum" "set termguicolors " Theme colorscheme nord " Setting dark mode -"set background=dark +set background=dark "============================================================================== " line number diff --git a/playbooks/workstation.yml b/playbooks/workstation.yml index 409ce87..64699e4 100644 --- a/playbooks/workstation.yml +++ b/playbooks/workstation.yml @@ -1,7 +1,7 @@ - hosts: localhost vars: # Theme options: monokai, gruvbox, nord - theme: nord + theme: gruvbox # The running user running_user: "{{ ansible_user_id }}" roles: