44 lines
1.9 KiB
YAML
44 lines
1.9 KiB
YAML
---
|
|
apt_repositories_sources:
|
|
- deb http://nova.clouds.archive.ubuntu.com/ubuntu/ focal main restricted
|
|
- deb http://nova.clouds.archive.ubuntu.com/ubuntu/ focal-updates main restricted
|
|
- deb http://nova.clouds.archive.ubuntu.com/ubuntu/ focal universe
|
|
- deb http://nova.clouds.archive.ubuntu.com/ubuntu/ focal-updates universe
|
|
- deb http://nova.clouds.archive.ubuntu.com/ubuntu/ focal multiverse
|
|
- deb http://nova.clouds.archive.ubuntu.com/ubuntu/ focal-updates multiverse
|
|
- deb http://nova.clouds.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
|
|
- deb http://security.ubuntu.com/ubuntu focal-security main restricted
|
|
- deb http://security.ubuntu.com/ubuntu focal-security universe
|
|
- deb http://security.ubuntu.com/ubuntu focal-security multiverse
|
|
|
|
##########
|
|
# CHISEL #
|
|
##########
|
|
|
|
chisel_server: false
|
|
chisel_client_auth_username: user
|
|
chisel_client_auth_password: pass
|
|
chisel_version: 1.8.1
|
|
chisel_client_server_url: 163.172.84.28:8080
|
|
chisel_client_remotes: R:163.172.84.28:socks
|
|
chisel_server_port: 8080
|
|
|
|
|
|
chisel_service_name: chisel-client
|
|
chisel_config_name: chisel-client
|
|
|
|
chisel_conf:
|
|
# chisel enable auth and finder
|
|
- path: "/etc/chisel/{{ chisel_config_name }}.conf"
|
|
regexp: "^AUTH=--auth {{ chisel_client_auth_username }}:{{ chisel_client_auth_password }}"
|
|
state: present
|
|
line: "AUTH=--auth {{ chisel_client_auth_username }}:{{ chisel_client_auth_password }}"
|
|
# - path: "/etc/chisel/{{ chisel_config_name }}.conf"
|
|
# regexp: "^HOSTNAME=--hostname {{ chisel_client_server_url }}"
|
|
# state: present
|
|
# line: "HOSTNAME=--hostname {{ chisel_client_server_url }}"
|
|
- path: "/etc/chisel/{{ chisel_config_name }}.conf"
|
|
regexp: "^FINGERPRINT=--fingerprint {{ chisel_client_server_fingerprint }}"
|
|
state: present
|
|
line: "FINGERPRINT=--fingerprint {{ hostvars[groups['server'][0]].chisel_fingerprint[4]|default('') }}"
|