mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
web site deployment ongoing
This commit is contained in:
parent
d48af7954b
commit
1328b00ddd
7 changed files with 48 additions and 1 deletions
9
.gitmodules
vendored
9
.gitmodules
vendored
|
@ -22,3 +22,12 @@
|
||||||
[submodule "files/ssh_public_keys"]
|
[submodule "files/ssh_public_keys"]
|
||||||
path = files/ssh_public_keys
|
path = files/ssh_public_keys
|
||||||
url = https://gitea.see-base.de/toolbox/ssh-public-keys.git
|
url = https://gitea.see-base.de/toolbox/ssh-public-keys.git
|
||||||
|
[submodule "roles/nginx2"]
|
||||||
|
path = roles/nginx2
|
||||||
|
url = git@git.ccczh.ch:ansible-roles/role-nginx_new2.git
|
||||||
|
[submodule "roles/acmetool2"]
|
||||||
|
path = roles/acmetool2
|
||||||
|
url = git@git.ccczh.ch:ansible-roles/role-acmetool.git
|
||||||
|
[submodule "roles/webhost2"]
|
||||||
|
path = roles/webhost2
|
||||||
|
url = git@git.ccczh.ch:ansible-roles/role-webhost.git
|
||||||
|
|
28
host_vars/web01.l3d.space.yml
Normal file
28
host_vars/web01.l3d.space.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
users:
|
||||||
|
l3d:
|
||||||
|
- l3d@pinkie.l3d.yt
|
||||||
|
- l3d@mobile.l3d.yt
|
||||||
|
- l3d@backup.l3d.yt
|
||||||
|
- l3d@derpy.l3d.yt
|
||||||
|
- l3d@backup-rsa.l3d.yt
|
||||||
|
- l3d@business.wingcon.com
|
||||||
|
webwaffel:
|
||||||
|
- l3d@pinkie.l3d.yt
|
||||||
|
- l3d@mobile.l3d.yt
|
||||||
|
- l3d@backup.l3d.yt
|
||||||
|
- l3d@derpy.l3d.yt
|
||||||
|
- l3d@backup-rsa.l3d.yt
|
||||||
|
- l3d@business.wingcon.com
|
||||||
|
|
||||||
|
|
||||||
|
accounts:
|
||||||
|
- l3d
|
||||||
|
- webwaffel
|
||||||
|
|
||||||
|
nginx_sites:
|
||||||
|
- name: 'c3woc.org'
|
||||||
|
webroot:
|
||||||
|
user: 'webwaffel'
|
||||||
|
|
||||||
|
acme_notification_email: "acme_{{ ansible_hosts }}@l3d.yt"
|
|
@ -1,2 +1,2 @@
|
||||||
[webserver]
|
[web]
|
||||||
web01.l3d.space
|
web01.l3d.space
|
||||||
|
|
1
roles/acmetool2
Submodule
1
roles/acmetool2
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 06f62154319969711f4025a12257868310fbd4b1
|
1
roles/nginx2
Submodule
1
roles/nginx2
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 0b60a92826d0971fffed434ca228626766fe39f8
|
1
roles/webhost2
Submodule
1
roles/webhost2
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 7a7a04e45d9c52be8ceec4ec48349de2fee71dd1
|
7
site.yml
7
site.yml
|
@ -14,3 +14,10 @@
|
||||||
- { role: dotfiles, tags: [default,dotfiles]}
|
- { role: dotfiles, tags: [default,dotfiles]}
|
||||||
- { role: ssh_auth, tags: [default,users]}
|
- { role: ssh_auth, tags: [default,users]}
|
||||||
- { role: sshd, tags: [default,users]}
|
- { role: sshd, tags: [default,users]}
|
||||||
|
|
||||||
|
- name: deploy web config
|
||||||
|
hosts: web
|
||||||
|
roles:
|
||||||
|
- { role: acmetool2, tags: [web,acmetool]}
|
||||||
|
- { role: nginx2, tags: [web,nginx]}
|
||||||
|
- { role: webhost2, tags: [web,webhost]}
|
||||||
|
|
Loading…
Reference in a new issue