added devzat chat jail
This commit is contained in:
11
roles/server/files/hosts
Normal file
11
roles/server/files/hosts
Normal file
@@ -0,0 +1,11 @@
|
||||
::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
|
||||
@@ -4,6 +4,10 @@
|
||||
state: present
|
||||
name: "{{ packages }}"
|
||||
|
||||
- name: Create program symlinks
|
||||
shell: "ln -sf /usr/local/bin/{{ item.program }} /usr/local/bin/{{ item.link }}"
|
||||
loop: "{{ versions }}"
|
||||
|
||||
# FIXME: remove the symlink in the next release snapshot
|
||||
- name: Remove old home sym link
|
||||
shell: |
|
||||
@@ -90,6 +94,14 @@
|
||||
group: wheel
|
||||
mode: '0644'
|
||||
|
||||
- name: Install /etc/hosts file
|
||||
copy:
|
||||
src: hosts
|
||||
dest: /etc/hosts
|
||||
owner: root
|
||||
group: wheel
|
||||
mode: '0644'
|
||||
|
||||
- name: Install jlogin
|
||||
copy:
|
||||
src: jlogin
|
||||
|
||||
Reference in New Issue
Block a user