Aufbau Docker 3/4 (#162)
docker2 munin docker 4 docker3 vm test docker 2 inventory group vars inventory Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#162 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
ddb41de239
commit
dc76186744
6 changed files with 39 additions and 23 deletions
|
@ -28,9 +28,3 @@
|
||||||
to_port: 4949
|
to_port: 4949
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
comment: 'munin'
|
comment: 'munin'
|
||||||
### geerlingguy.munin-node
|
|
||||||
munin_node_allowed_cidrs: [0.0.0.0/0] # weil der munin-server aus einem anderen subnet zugreift
|
|
||||||
munin_node_allowed_ips: # weil der munin-server aus einem anderen subnet zugreift
|
|
||||||
- '^127\.0\.0\.1$'
|
|
||||||
- '^::1$'
|
|
||||||
- ^0\.0\.0\.0$
|
|
||||||
|
|
|
@ -7,3 +7,8 @@
|
||||||
repository_url: git.mgrote.net/mg/docker-homer
|
repository_url: git.mgrote.net/mg/docker-homer
|
||||||
repository_user: mg
|
repository_user: mg
|
||||||
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
||||||
|
- name: watchtower
|
||||||
|
dir_name: docker-watchtower
|
||||||
|
repository_url: git.mgrote.net/mg/docker-watchtower
|
||||||
|
repository_user: mg
|
||||||
|
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
||||||
|
|
|
@ -7,3 +7,24 @@
|
||||||
repository_url: git.mgrote.net/mg/docker-munin-master
|
repository_url: git.mgrote.net/mg/docker-munin-master
|
||||||
repository_user: mg
|
repository_user: mg
|
||||||
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
||||||
|
- name: watchtower
|
||||||
|
dir_name: docker-watchtower
|
||||||
|
repository_url: git.mgrote.net/mg/docker-watchtower
|
||||||
|
repository_user: mg
|
||||||
|
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
||||||
|
- name: homer
|
||||||
|
dir_name: docker-homer
|
||||||
|
repository_url: git.mgrote.net/mg/docker-homer
|
||||||
|
repository_user: mg
|
||||||
|
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
||||||
|
- name: unifi-controller
|
||||||
|
dir_name: docker-unifi-controller
|
||||||
|
repository_url: git.mgrote.net/mg/docker-unifi-controller
|
||||||
|
repository_user: mg
|
||||||
|
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
||||||
|
### geerlingguy.munin-node
|
||||||
|
munin_node_allowed_cidrs: [0.0.0.0/0] # weil der munin-server aus einem anderen subnet zugreift
|
||||||
|
munin_node_allowed_ips: # weil der munin-server aus einem anderen subnet zugreift
|
||||||
|
- '^127\.0\.0\.1$'
|
||||||
|
- '^::1$'
|
||||||
|
- ^0\.0\.0\.0$
|
||||||
|
|
|
@ -2,11 +2,6 @@
|
||||||
### mgrote.docker-compose-deploy
|
### mgrote.docker-compose-deploy
|
||||||
docker_compose_base_dir: /home/mg/docker
|
docker_compose_base_dir: /home/mg/docker
|
||||||
docker_compose_projects:
|
docker_compose_projects:
|
||||||
- name: homer
|
|
||||||
dir_name: docker-homer
|
|
||||||
repository_url: git.mgrote.net/mg/docker-homer
|
|
||||||
repository_user: mg
|
|
||||||
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
|
||||||
- name: miniflux
|
- name: miniflux
|
||||||
dir_name: docker-miniflux
|
dir_name: docker-miniflux
|
||||||
repository_url: git.mgrote.net/mg/docker-miniflux
|
repository_url: git.mgrote.net/mg/docker-miniflux
|
||||||
|
@ -22,21 +17,11 @@
|
||||||
repository_url: git.mgrote.net/mg/docker-nightscout
|
repository_url: git.mgrote.net/mg/docker-nightscout
|
||||||
repository_user: mg
|
repository_user: mg
|
||||||
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
||||||
- name: photoprism
|
|
||||||
dir_name: docker-photoprism
|
|
||||||
repository_url: git.mgrote.net/mg/docker-photoprism
|
|
||||||
repository_user: mg
|
|
||||||
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
|
||||||
- name: traefik
|
- name: traefik
|
||||||
dir_name: docker-traefik
|
dir_name: docker-traefik
|
||||||
repository_url: git.mgrote.net/mg/docker-traefik
|
repository_url: git.mgrote.net/mg/docker-traefik
|
||||||
repository_user: mg
|
repository_user: mg
|
||||||
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
||||||
- name: unifi-controller
|
|
||||||
dir_name: docker-unifi-controller
|
|
||||||
repository_url: git.mgrote.net/mg/docker-unifi-controller
|
|
||||||
repository_user: mg
|
|
||||||
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
|
||||||
- name: watchtower
|
- name: watchtower
|
||||||
dir_name: docker-watchtower
|
dir_name: docker-watchtower
|
||||||
repository_url: git.mgrote.net/mg/docker-watchtower
|
repository_url: git.mgrote.net/mg/docker-watchtower
|
9
host_vars/docker4.grote.lan.yml
Normal file
9
host_vars/docker4.grote.lan.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
### mgrote.docker-compose-deploy
|
||||||
|
docker_compose_base_dir: /home/mg/docker
|
||||||
|
docker_compose_projects:
|
||||||
|
- name: watchtower
|
||||||
|
dir_name: docker-watchtower
|
||||||
|
repository_url: git.mgrote.net/mg/docker-watchtower
|
||||||
|
repository_user: mg
|
||||||
|
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
|
@ -26,8 +26,9 @@ all:
|
||||||
ansible-test.grote.lan:
|
ansible-test.grote.lan:
|
||||||
docker:
|
docker:
|
||||||
hosts:
|
hosts:
|
||||||
docker.grote.lan:
|
docker3.grote.lan:
|
||||||
docker2.grote.lan:
|
docker2.grote.lan:
|
||||||
|
docker4.grote.lan:
|
||||||
docker-test.grote.lan:
|
docker-test.grote.lan:
|
||||||
vmtest:
|
vmtest:
|
||||||
hosts:
|
hosts:
|
||||||
|
@ -67,7 +68,6 @@ all:
|
||||||
fileserver2.grote.lan:
|
fileserver2.grote.lan:
|
||||||
acng.grote.lan:
|
acng.grote.lan:
|
||||||
ansible2.grote.lan:
|
ansible2.grote.lan:
|
||||||
docker.grote.lan:
|
|
||||||
pve2.grote.lan:
|
pve2.grote.lan:
|
||||||
pve3.grote.lan:
|
pve3.grote.lan:
|
||||||
pve4.grote.lan:
|
pve4.grote.lan:
|
||||||
|
@ -75,6 +75,8 @@ all:
|
||||||
pihole2.grote.lan:
|
pihole2.grote.lan:
|
||||||
ntp-server.grote.lan:
|
ntp-server.grote.lan:
|
||||||
docker2.grote.lan:
|
docker2.grote.lan:
|
||||||
|
docker3.grote.lan:
|
||||||
|
docker4.grote.lan:
|
||||||
test:
|
test:
|
||||||
hosts:
|
hosts:
|
||||||
dokuwiki-test.grote.lan:
|
dokuwiki-test.grote.lan:
|
||||||
|
|
Loading…
Reference in a new issue