From 386d62fad2036f5c0a4d63a37266f7d581ab8b43 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 13 Dec 2019 13:17:22 +0000 Subject: [PATCH] Only symlink xinitrc on FreeBSD or NetBSD --- roles/home-gui/tasks/dotfiles.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/home-gui/tasks/dotfiles.yml b/roles/home-gui/tasks/dotfiles.yml index 7b597bf..c6bf6bc 100644 --- a/roles/home-gui/tasks/dotfiles.yml +++ b/roles/home-gui/tasks/dotfiles.yml @@ -46,3 +46,4 @@ src: ".xsession" dest: "{{ ansible_env.HOME }}/.xinitrc" state: link + when: ansible_system == "NetBSD" or ansible_system == "FreeBSD"