-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
67 lines (47 loc) · 2.25 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
#####=== install ===#####
# The installation state of enhancd used by the system's package manager
# choices: [ present, latest, absent ]
install_state: present
# Override this instead of install_state if you use that elsewhere
# choices: [ present, latest, absent ]
enhancd_install_state: "{{ install_state }}"
# The name to be used by the system package manager to install enhancd
# default:
enhancd_package_name: "{{ enhancd_default_package_name }}"
enhancd_install_prefix: "{{ xdg_data_home }}/enhancd"
enhancd_dir: "{{ xdg_cache_home }}/enhancd"
enhancd_command: "cd"
enhancd_disable_dot: 0
enhancd_disable_hyphen: 0
#####=== configure ===#####
# The state in which settings are written
# choices: [ present, absent ]
config_state: present
# Override this instead of config_state if you use that elsewhere
# choices: [ present, absent ]
enhancd_config_state: "{{ config_state }}"
# Shell startup file where settings are written to.
# default:
# - bash: ~/.bash_profile
# - zsh: ~/.zshrc
# - fish: ~/.config/fish/config.fish
shell_config_file: "{{ default_shell_config_file }}"
# Override this instead of shell_config_file if you use that elsewhere
# (or override shell_config_file if you want that to propogate here as well)
enhancd_shell_config_file: "{{ shell_config_file }}"
enhancd_config_block: "{{ enhancd_default_config_block }}"
# The marker line that surrounds enhancd_config_block
# "{mark}" will be replaced with "BEGIN" or "END".
enhancd_config_marker: "#####=== {mark} Ansible managed enhancd settings ===#####"
#####=== XDG ===#####
# http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
# The base directory relative to which user specific configuration files should be stored
# default: $XDG_CONFIG_HOME | ~/.config/
xdg_config_home: "{{ ansible_env.XDG_CONFIG_HOME | default(default_xdg_config_home) }}"
# The base directory relative to which user specific data files should be stored
# default: $XDG_DATA_HOME | ~/.local/share/
xdg_data_home: "{{ ansible_env.XDG_DATA_HOME | default(default_xdg_data_home) }}"
# The base directory relative to which user specific non-essential data files should be stored
# default: $XDG_CACHE_HOME | ~/.cache
xdg_cache_home: "{{ ansible_env.XDG_CACHE_HOME | default(default_xdg_cache_home) }}"