-
Notifications
You must be signed in to change notification settings - Fork 1
/
.talismanrc
64 lines (52 loc) · 2.04 KB
/
.talismanrc
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
fileignoreconfig:
- filename: tasks/mailcow_config.yml
allowed_patterns:
- >
API_KEY={{ mailcow_api_key }}
- >
API_KEY_READ_ONLY={{ mailcow_api_key_read_only }}
- filename: templates/mailcow_delete_default_admin.sh.j2
allowed_patterns:
- >
docker exec -it \$\(docker ps -qf name=mysql-mailcow\) mysql -u\${\w+} -p\${\w+} \${\w+} -e "DELETE FROM admin WHERE username='\${\w+}';"
- >
docker exec -it \$\(docker ps -qf name=mysql-mailcow\) mysql -u\${\w+} -p\${\w+} \${\w+} -e "DELETE FROM tfa WHERE username='\${\w+}';"
- filename: templates/mailcow_set_admin.sh.j2
allowed_patterns:
- >
hashed_mailcow_admin_password=\$\(docker exec -it \$\(docker ps -qf name=dovecot-mailcow\) doveadm pw -s SSHA256 -p \${\w+} | tr -d '\\r'\)
- filename: tasks/mailcow_admin.yml
allowed_patterns:
- >
_MAILCOW_ADMIN_PASSWORD: "{{ \w+ }}"
- filename: tasks/mailcow_rspamd_password.yml
ignore_detectors: [filename]
allowed_patterns:
- >
_MAILCOW_RSPAMD_UI_PASSWORD: "{{ \w+ }}"
- filename: tasks/mailcow_dns.yml
allowed_patterns:
- >
X-API-Key: +"{{ mailcow_api_key }}"
- filename: templates/mailcow_set_rspamd_ui_password.sh.j2
ignore_detectors: [filename]
allowed_patterns:
- >
hashed_mailcow_rspamd_ui_password=\$\(docker exec -it \$\(docker ps -qf name=rspamd-mailcow\) rspamadm pw -p \${_MAILCOW_RSPAMD_UI_PASSWORD} | tr -d '\\r'\)
- >
echo 'enable_password = "'\${hashed_mailcow_rspamd_ui_password}'";' >\${_MAILCOW_INSTALL_PATH}/data/conf/rspamd/override.d/worker-controller-password.inc
- filename: defaults/main.yml
allowed_patterns:
- >
mailcow_set_rspamd_ui_password_script: /root/ansible_set_rspamd_ui_password.sh
- filename: README.md
allowed_patterns:
- >
### `mailcow_set_rspamd_ui_password_script`: `/root/ansible_set_rspamd_ui_password.sh`
- filename: tasks/backup.yml
ignore_detectors: [filename]
- filename: templates/mailcow_backup.sh.j2
ignore_detectors: [filename]
allowed_patterns:
- >
[-_a-zA-Z0-9]+: +"{{ [-_a-zA-Z0-9]+ }}"