added devzat chat jail
This commit is contained in:
@@ -46,6 +46,11 @@
|
||||
template:
|
||||
src: resolv.conf.j2
|
||||
dest: "/usr/local/bastille/templates/services/{{ role_name }}/etc/resolv.conf"
|
||||
|
||||
- name: copy hosts file
|
||||
template:
|
||||
src: hosts.j2
|
||||
dest: "/usr/local/bastille/templates/services/{{ role_name }}/etc/hosts"
|
||||
|
||||
- name: create jail
|
||||
shell: "bastille create -B {{ role_name }} {{ release }} {{ jailip.stdout }}/64 bridge0"
|
||||
|
||||
13
roles/pub/templates/hosts.j2
Normal file
13
roles/pub/templates/hosts.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
::1 localhost localhost.my.domain
|
||||
127.0.0.1 localhost localhost.my.domain
|
||||
|
||||
# https://danwin1210.de/github-ipv6-proxy.php
|
||||
2a01:4f8:c010:d56::2 github.com
|
||||
2a01:4f8:c010:d56::3 api.github.com
|
||||
2a01:4f8:c010:d56::4 codeload.github.com
|
||||
2a01:4f8:c010:d56::5 objects.githubusercontent.com
|
||||
2a01:4f8:c010:d56::6 ghcr.io
|
||||
2a01:4f8:c010:d56::7 pkg.github.com npm.pkg.github.com maven.pkg.github.com nuget.pkg.github.com rubygems.pkg.github.com
|
||||
2a01:4f8:c010:d56::8 uploads.github.com
|
||||
|
||||
{{ chatip.stdout }} chat chat.bsdnix.de kobayashi kobayashi.bsdnix.de
|
||||
Reference in New Issue
Block a user