- programming/python
- programming/haskell
- programming/nodejs
+- name: Config dirs
+ file:
+ state: directory
+ path: "$XDG_CONFIG_HOME/{{ item }}"
+ loop:
+ - autostart
+ - Zeal
+ - pm2
- name: Config files
copy:
src: "config_files/{{ item }}"
dest: "$XDG_CONFIG_HOME/{{ item }}"
loop:
- - "autostart/zeal.desktop"
+ - autostart/zeal.desktop
- name: zeal configuration
ini_file:
path: "$XDG_CONFIG_HOME/Zeal/Zeal.conf"
args:
creates: "$XDG_DATA_HOME/Zeal/Zeal/docsets/{{ item }}.docset"
loop: "{{ zeal_missing_docsets.stdout.split('\n') }}"
-- name: Create pm2 config dir
- file:
- path: $XDG_CONFIG_HOME/pm2
- state: directory
- name: workdir
block:
+ - name: Workdir
+ file:
+ state: directory
+ path: $HOME/workdir
- name: workdir scripts
copy:
mode: 0755
---
+- name: Config dirs
+ file:
+ state: directory
+ path: "$XDG_CONFIG_HOME/{{ item }}"
+ loop:
+ - tig
+ - git/templates_fretlink/hooks
- name: Config files
copy:
mode: preserve
---
+- name: Config dirs
+ file:
+ state: directory
+ path: "$XDG_CONFIG_HOME/{{ gnupg_config_item }}"
+ mode: 0700
+ loop:
+ - gnupg
+ loop_control:
+ loop_var: gnupg_config_item
- name: Config files
copy:
src: "gnupg/{{ gnupg_config_item }}"
- gpg.conf
loop_control:
loop_var: gnupg_config_item
-- name: Protect directory
- file:
- path: $XDG_CONFIG_HOME/gnupg
- state: directory
- mode: 0700
- name: Get gnupg runtime folder name
shell: 'gpgconf --list-dirs socketdir | sed -e "s@$XDG_RUNTIME_DIR/gnupg/@@"'
register: gnupg_runtime_dir_cmd
---
+- name: Config dirs
+ file:
+ state: directory
+ path: "$XDG_CONFIG_HOME/{{ item }}"
+ loop:
+ - autostart
+ - dunst
- name: Config files
copy:
src: "config_files/{{ item }}"
- name: Import graphical
include_role:
name: graphical
+- name: Config dirs
+ file:
+ state: directory
+ path: "$XDG_CONFIG_HOME/{{ item }}"
+ loop:
+ - libfm
+ - pcmanfm/LXDE
+ - lxterminal
+ - openbox
+ - lxpanel/LXDE/panels
+ - lxsession-default-apps
+ - lxsession/LXDE
+ - gpicview
- name: Config files
copy:
mode: preserve
---
+- name: Config dirs
+ file:
+ state: directory
+ path: "{{ item }}"
+ loop:
+ - "$HOME/.ghc"
+ - "$XDG_DATA_HOME/stack/global-project"
- name: GHC config file
copy:
src: ghci.conf
---
+- name: Config dirs
+ file:
+ state: directory
+ path: "$XDG_CONFIG_HOME/{{ item }}"
+ loop:
+ - npm
- name: config file
copy:
src: npmrc
---
+- name: Config dirs
+ file:
+ state: directory
+ path: "$XDG_CONFIG_HOME/{{ item }}"
+ loop:
+ - python
- name: Config file
copy:
src: startup_script.py
loop:
- git
- gnupg
+- name: Config dirs
+ file:
+ state: directory
+ path: "$XDG_CONFIG_HOME/{{ item }}"
+ loop:
+ - htop
+ - mplayer
+ - psql
+ - vim
+ - tmux
+ - youtube-viewer
+ - remind
+ - systemd/user
- name: config files
copy:
src: "{{ item }}"
- [ "sinkType", "0" ]
- [ "sourceType", "0" ]
- [ "showVolumeMeters", "1" ]
+- name: ssh config dirs
+ file:
+ state: directory
+ path: "$HOME/.ssh"
- name: ssh files
copy:
src: "ssh/{{ item }}"
- shell/bash
- lxde
- tools
- - gnupg
- cron
- role: contexts/fretlink
tags: ["fretlink"]