-
Notifications
You must be signed in to change notification settings - Fork 3
/
common.yaml
109 lines (108 loc) · 2.07 KB
/
common.yaml
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
# primary directories
NAME: "{{TYPE}}{{'-'+INSTANCE if INSTANCE is defined else ''}}"
BINS_DIR: "{{DIR}}/bin"
GLOBAL_BINS_DIR: /usr/local/bin
SRVS_DIR: /srv
OPTS_DIR: /opt
ETCS_DIR: /etc/opt
VARS_DIR: /var/lib
LOGS_DIR: /var/log
SPOOLS_DIR: /var/spool
CACHES_DIR: /var/cache
PIDS_DIR: /var/run
RUNS_DIR: /var/run
SRCS_DIR: /usr/local/src
SHARES_DIR: /usr/share
BUILD_DIR: "{{OPT}}/build"
REPO_DIR: "{{SRC}}"
WORKTREE_BRANCH: master
WORKDIR_BIN: /usr/share/doc/git/contrib/workdir/git-new-workdir
PKGCONFIG_DIR: "/usr/local/lib/pkgconfig"
PKGSS_DIR: "{{SRCS_DIR}}"
SPECS_DIR: "{{SRCS_DIR}}/spec"
SYSCTL_DIR: "/etc/sysctl.conf.d"
WWW_LINKS_D: /etc/lighttpd2/links.d
NGINX: /etc/nginx
# package installation config
APT_INSTALL: latest
APT_BYPASS: False
APT_DEFAULT_COMPONENT: main
APT_DEFAULT_DISTRIBUTION: bookworm
#APT_DEFAULT_DISTRIBUTION: trixie
APT_DEFAULT_ARCH: True
APT_DEFAULT_MIRROR: http://deb.debian.org/debian
APT_ARCH: amd64
DEBIAN_DISTRIBUTION: stretch
UBUNTU_DISTRIBUTION: bionic
BIND: 0.0.0.0
DIRSET:
- opt
- srv
- etc
- var
- log
- spool
- cache
- src
- pid
- share
FONTS_TTF: /usr/share/fonts/truetype
MEDIAS_DIR: /srv/media
SYSTEMD_SYSTEM_UNIT_DIR: /etc/systemd/system
DIRMODE: "0770"
FILEMODE: "0660"
GO_DIR: "src/{{go_url|deprefix('\\w+@')|deprefix('https?://')|regex_replace('^(\\w+):', '\\1/')|trim}}"
PERSIST_VARS:
- NAME
- INSTANCE
- DIR
- PREFIX
- USER
- USERMODE
- OWNER
- APT_COMPONENT
- APT_COMPONENTS
- APT_TRUSTED
- APT_SOURCELIST
- APT_TRUST
- APT_UPDATE_BYPASS
- BINS
- GLOBAL_BINS_BYPASS
- DIR
- DIRS
- FILES
- DIR_BYPASS
- OPT_BYPASS
- SRV_BYPASS
- ETC_BYPASS
- VAR_BYPASS
- LOG_BYPASS
- SPOOL_BYPASS
- CACHE_BYPASS
- SRC_BYPASS
- PID_BYPASS
- RUN_BYPASS
- SHARE_BYPASS
- LINKS
- LINK_BYPASS
- PKGS
- PKGSET
- PKGSETS
- REPO
- REPO_DIR
- REPOS
- HG_REPO
- SVN_REPO
- GIT_DIR
- WITH
- ENABLE
CA_EXPIRY: "26280h"
HOMEDIR: "~{{USER|default(OWNER)|default(ansible_user_id)}}/"
GIT_DIR: "{{REPO_DIR|default(DIR, true)}}"
__DEST: "{{item.dest|default(item.name)|default(item)|defaultDir(__defaultDir|default(DIR))}}"
MULTISTRAP_COMPONENTS:
- main
- contrib
- non-free
- non-free-firmware