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:
parent
5857e118e8
commit
89c628d230
@ -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"
|
||||
|
3
vagrant/archlinux/Vagrantfile
vendored
3
vagrant/archlinux/Vagrantfile
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user