-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
53 lines (39 loc) · 1.79 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
---
xdg_config_home: "{{ ansible_env.XDG_CONFIG_HOME | default(default_xdg_config_home) }}"
#####=== install ===#####
# The source dircolors file URL
dircolors_src_url: "https://raw.githubusercontent.com/trapd00r/LS_COLORS/master/LS_COLORS"
# The destination path for the dircolors file used to generate $LS_COLORS
dircolors_dest_file: "{{ config_dir | default(xdg_config_home) }}/dircolors"
# Whether or not to escalate privledges
dircolors_become: no
#####=== configure ===#####
# The state in which settings are written
# choices: [ present, absent ]
configure_state: present
# Override this instead of configure_state if you use that elsewhere
# choices: [ present, absent ]
dircolors_configure_state: "{{ configure_state }}"
# Shell configuration directory
# default:
# - bash: ~/
# - zsh: ~/
# - fish: ~/.config/fish/
shell_config_dir: "{{ default_shell_config_dir }}"
# 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)
dircolors_shell_config_file: "{{ shell_config_file }}"
# The marker line (which surrounds the text block) template.
# "{mark}" will be replaced with "BEGIN" or "END".
dircolors_configure_marker: "#####=== {mark} Ansible managed dircolors ===#####"
# The name of the dircolors executable
dircolors_command_name: "{{ (ansible_os_family == 'Darwin') | ternary('gdircolors', 'dircolors') }}"
# The name of the ls executable
dircolors_ls_command_name: "{{ (ansible_os_family == 'Darwin') | ternary('gls', 'ls') }}"
dircolors_configure_block: "{{ dircolors_default_configure_block }}"