-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvps.yml
30 lines (27 loc) · 860 Bytes
/
vps.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
---
- name: Apply host-specific roles
hosts: vps
gather_facts: true
vars:
sshd_port: 51858
snmp_syslocation: sale-dedic.com
sshd_password_authentication: 'no'
sshd_authentication_methods: publickey
roles:
# - { role: common/packages, tags: [vps, packages] }
# - { role: spirkaa.zsh_prezto, tags: [vps, zsh] }
# - { role: spirkaa.nano, tags: [vps, nano] }
# - { role: common/motd, tags: [vps, motd] }
# - { role: common/sshd, tags: [vps, sshd] }
# - { role: common/snmp, tags: [vps, snmp] }
# - { role: common/docker, tags: [vps, docker] }
- { role: vps, tags: [vps, vps_specific] }
- role: sing_box
when: sing_box_enabled | default(false) | bool
tags:
- vps
- sing_box
pre_tasks:
- name: Set timezone
community.general.timezone:
name: Europe/Moscow