change pizzeria remote to forgejo

add dirty hack to resolve local domains
This commit is contained in:
Pim Kunis 2023-01-06 22:49:07 +01:00
parent 7e10a78623
commit 1382696ba1
5 changed files with 24 additions and 1 deletions

View file

@ -1,5 +1,8 @@
# Ansible scripts for our private Intel NUC servers # Ansible scripts for our private Intel NUC servers
## TODO ## TODO
- Move to /srv directory?
### nsd ### nsd
- ZSK rollover. - ZSK rollover.

14
roles/common/files/hosts Normal file
View 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

View file

@ -23,3 +23,7 @@
src: "{{ role_path }}/files/resolv.conf" src: "{{ role_path }}/files/resolv.conf"
dest: /etc/resolv.conf dest: /etc/resolv.conf
follow: true follow: true
- name: Copy hosts file
copy:
src: "{{ role_path }}/files/hosts"
dest: /etc/hosts

View file

@ -1,6 +1,6 @@
- name: Clone pizzeria repository - name: Clone pizzeria repository
git: git:
repo: https://github.com/pizzapim/pizzeria repo: "{{ pizzeria.git_origin }}"
dest: /apps/pizzeria dest: /apps/pizzeria
- name: Start the Docker Compose - name: Start the Docker Compose
community.docker.docker_compose: community.docker.docker_compose:

View file

@ -0,0 +1,2 @@
pizzeria:
git_origin: https://git.pizzapim.nl/pim/pizzeria.git