summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/init/files/user_dirs/user-dirs.dirs15
-rw-r--r--roles/init/files/user_dirs/user-dirs.locale1
-rw-r--r--roles/init/tasks/main.yml7
3 files changed, 23 insertions, 0 deletions
diff --git a/roles/init/files/user_dirs/user-dirs.dirs b/roles/init/files/user_dirs/user-dirs.dirs
new file mode 100644
index 0000000..fd59b25
--- /dev/null
+++ b/roles/init/files/user_dirs/user-dirs.dirs
@@ -0,0 +1,15 @@
1# This file is written by xdg-user-dirs-update
2# If you want to change or add directories, just edit the line you're
3# interested in. All local changes will be retained on the next run.
4# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
5# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
6# absolute path. No other format is supported.
7#
8XDG_DESKTOP_DIR="$HOME"
9XDG_DOWNLOAD_DIR="$HOME/Downloads"
10XDG_TEMPLATES_DIR="$HOME"
11XDG_PUBLICSHARE_DIR="$HOME"
12XDG_DOCUMENTS_DIR="$HOME"
13XDG_MUSIC_DIR="$HOME"
14XDG_PICTURES_DIR="$HOME"
15XDG_VIDEOS_DIR="$HOME"
diff --git a/roles/init/files/user_dirs/user-dirs.locale b/roles/init/files/user_dirs/user-dirs.locale
new file mode 100644
index 0000000..9f0da78
--- /dev/null
+++ b/roles/init/files/user_dirs/user-dirs.locale
@@ -0,0 +1 @@
fr_FR \ No newline at end of file
diff --git a/roles/init/tasks/main.yml b/roles/init/tasks/main.yml
index c06a078..576053d 100644
--- a/roles/init/tasks/main.yml
+++ b/roles/init/tasks/main.yml
@@ -15,6 +15,13 @@
15 changed_when: false 15 changed_when: false
16 register: gnupg_runtime_dir_cmd 16 register: gnupg_runtime_dir_cmd
17 check_mode: no 17 check_mode: no
18- name: Add user dirs
19 copy:
20 src: "user_dirs/{{ item }}"
21 dest: "$XDG_CONFIG_HOME/{{ item }}"
22 loop:
23 - user-dirs.dirs
24 - user-dirs.locale
18- name: Add pam_environment 25- name: Add pam_environment
19 register: pam_environment 26 register: pam_environment
20 template: 27 template: