change pizzeria remote to forgejo
add dirty hack to resolve local domains
This commit is contained in:
parent
7e10a78623
commit
1382696ba1
5 changed files with 24 additions and 1 deletions
14
roles/common/files/hosts
Normal file
14
roles/common/files/hosts
Normal file
|
@ -0,0 +1,14 @@
|
|||
127.0.0.1 localhost
|
||||
127.0.1.1 ubuntu
|
||||
127.0.0.1 pizzapim.nl
|
||||
127.0.0.1 git.pizzapim.nl
|
||||
127.0.0.1 dav.pizzapim.nl
|
||||
127.0.0.1 social.pizzapim.nl
|
||||
127.0.0.1 www.pizzapim.nl
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 ip6-localhost ip6-loopback
|
||||
fe00::0 ip6-localnet
|
||||
ff00::0 ip6-mcastprefix
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
|
@ -23,3 +23,7 @@
|
|||
src: "{{ role_path }}/files/resolv.conf"
|
||||
dest: /etc/resolv.conf
|
||||
follow: true
|
||||
- name: Copy hosts file
|
||||
copy:
|
||||
src: "{{ role_path }}/files/hosts"
|
||||
dest: /etc/hosts
|
||||
|
|
Reference in a new issue