1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +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: tasks:
- include_role: - include_role:
name: weechat name: weechat
when: ansible_env.username == "vagrant" when: ansible_user_id == "vagrant"
tags: wallpaper tags: wallpaper
- hosts: all - hosts: all

@ -12,7 +12,7 @@
marker: "### {mark} DOTFILES compton ###" marker: "### {mark} DOTFILES compton ###"
content: | content: |
compton --backend glx --vsync opengl-swc -GCb --config ~/.compton & 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) - name: Init compton in .xprofile (Vagrant)
blockinfile: blockinfile:
@ -21,4 +21,4 @@
marker: "### {mark} DOTFILES compton ###" marker: "### {mark} DOTFILES compton ###"
content: | content: |
compton -GCb --config ~/.compton & 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 echo "fr_FR.UTF-8 UTF-8" > /etc/locale.gen
locale-gen locale-gen
echo 'LANG="fr_FR.UTF-8"' > /etc/locale.conf echo 'LANG="fr_FR.UTF-8"' > /etc/locale.conf
# KEYBOARD
echo 'KEYMAP=fr' > /etc/vconsole.conf
loadkeys fr
# UPGRADE # UPGRADE
pacman -Syu --noconfirm pacman -Syu --noconfirm
# DEPS # DEPS