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
|
@ -1,5 +1,8 @@
|
|||
# Ansible scripts for our private Intel NUC servers
|
||||
## TODO
|
||||
|
||||
- Move to /srv directory?
|
||||
|
||||
### nsd
|
||||
|
||||
- ZSK rollover.
|
||||
|
|
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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- name: Clone pizzeria repository
|
||||
git:
|
||||
repo: https://github.com/pizzapim/pizzeria
|
||||
repo: "{{ pizzeria.git_origin }}"
|
||||
dest: /apps/pizzeria
|
||||
- name: Start the Docker Compose
|
||||
community.docker.docker_compose:
|
||||
|
|
2
roles/pizzeria/vars/main.yml
Normal file
2
roles/pizzeria/vars/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
pizzeria:
|
||||
git_origin: https://git.pizzapim.nl/pim/pizzeria.git
|
Reference in a new issue