1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +01:00

fixed username match fact

This commit is contained in:
eoli3n 2017-12-19 16:48:31 +01:00
parent 5857e118e8
commit 89c628d230
3 changed files with 6 additions and 3 deletions

@ -28,7 +28,7 @@
tasks:
- include_role:
name: weechat
when: ansible_env.username == "vagrant"
when: ansible_user_id == "vagrant"
tags: wallpaper
- hosts: all

@ -12,7 +12,7 @@
marker: "### {mark} DOTFILES compton ###"
content: |
compton --backend glx --vsync opengl-swc -GCb --config ~/.compton &
when: ansible_env.username != "vagrant"
when: ansible_user_id != "vagrant"
- name: Init compton in .xprofile (Vagrant)
blockinfile:
@ -21,4 +21,4 @@
marker: "### {mark} DOTFILES compton ###"
content: |
compton -GCb --config ~/.compton &
when: ansible_env.username == "vagrant"
when: ansible_user_id == "vagrant"

@ -28,6 +28,9 @@ Vagrant.configure("2") do |config|
echo "fr_FR.UTF-8 UTF-8" > /etc/locale.gen
locale-gen
echo 'LANG="fr_FR.UTF-8"' > /etc/locale.conf
# KEYBOARD
echo 'KEYMAP=fr' > /etc/vconsole.conf
loadkeys fr
# UPGRADE
pacman -Syu --noconfirm
# DEPS