Skip to content

Commit

Permalink
web site deployment ongoing
Browse files Browse the repository at this point in the history
  • Loading branch information
DO1JLR committed Dec 23, 2020
1 parent d48af79 commit 1328b00
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@
[submodule "files/ssh_public_keys"]
path = files/ssh_public_keys
url = https://gitea.see-base.de/toolbox/ssh-public-keys.git
[submodule "roles/nginx2"]
path = roles/nginx2
url = [email protected]:ansible-roles/role-nginx_new2.git
[submodule "roles/acmetool2"]
path = roles/acmetool2
url = [email protected]:ansible-roles/role-acmetool.git
[submodule "roles/webhost2"]
path = roles/webhost2
url = [email protected]:ansible-roles/role-webhost.git
28 changes: 28 additions & 0 deletions host_vars/web01.l3d.space.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
users:
l3d:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
webwaffel:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]


accounts:
- l3d
- webwaffel

nginx_sites:
- name: 'c3woc.org'
webroot:
user: 'webwaffel'

acme_notification_email: "acme_{{ ansible_hosts }}@l3d.yt"
2 changes: 1 addition & 1 deletion hosts.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[webserver]
[web]
web01.l3d.space
1 change: 1 addition & 0 deletions roles/acmetool2
Submodule acmetool2 added at 06f621
1 change: 1 addition & 0 deletions roles/nginx2
Submodule nginx2 added at 0b60a9
1 change: 1 addition & 0 deletions roles/webhost2
Submodule webhost2 added at 7a7a04
7 changes: 7 additions & 0 deletions site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@
- { role: dotfiles, tags: [default,dotfiles]}
- { role: ssh_auth, 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]}

0 comments on commit 1328b00

Please sign in to comment.