From bfaef031baff0c6387539987090c6babc4d153db Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 2 Apr 2020 19:54:11 +0200 Subject: [PATCH] Initial commit --- .gitmodules | 15 +++++++++++++++ common.yml | 4 ++++ database.yml | 4 ++++ dns.yml | 4 ++++ monitoring.yml | 4 ++++ production | 9 +++++++++ roles/common | 1 + roles/database | 1 + roles/dns | 1 + roles/monitoring | 1 + roles/web | 1 + testing | 0 web.yml | 4 ++++ 13 files changed, 49 insertions(+) create mode 100644 .gitmodules create mode 100644 common.yml create mode 100644 database.yml create mode 100644 dns.yml create mode 100644 monitoring.yml create mode 100644 production create mode 160000 roles/common create mode 160000 roles/database create mode 160000 roles/dns create mode 160000 roles/monitoring create mode 160000 roles/web create mode 100644 testing create mode 100644 web.yml diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..6146c7f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,15 @@ +[submodule "roles/database"] + path = roles/database + url = ssh://git.redxen.eu/RedXen/ansible-database +[submodule "roles/common"] + path = roles/common + url = ssh://git.redxen.eu/RedXen/ansible-common +[submodule "roles/dns"] + path = roles/dns + url = ssh://git.redxen.eu/RedXen/ansible-dns +[submodule "roles/web"] + path = roles/web + url = ssh://git.redxen.eu/RedXen/ansible-web +[submodule "roles/monitoring"] + path = roles/monitoring + url = ssh://git.redxen.eu/RedXen/ansible-monitoring diff --git a/common.yml b/common.yml new file mode 100644 index 0000000..51dede5 --- /dev/null +++ b/common.yml @@ -0,0 +1,4 @@ +--- +- hosts: all + roles: + - common diff --git a/database.yml b/database.yml new file mode 100644 index 0000000..8d401ae --- /dev/null +++ b/database.yml @@ -0,0 +1,4 @@ +--- +- hosts: database + roles: + - database diff --git a/dns.yml b/dns.yml new file mode 100644 index 0000000..52d2783 --- /dev/null +++ b/dns.yml @@ -0,0 +1,4 @@ +--- +- hosts: dns + roles: + - dns diff --git a/monitoring.yml b/monitoring.yml new file mode 100644 index 0000000..f086dfe --- /dev/null +++ b/monitoring.yml @@ -0,0 +1,4 @@ +--- +- hosts: monitoring + roles: + - monitoring diff --git a/production b/production new file mode 100644 index 0000000..96aede0 --- /dev/null +++ b/production @@ -0,0 +1,9 @@ +[web] +78.46.164.141 +78.46.197.89 + +[dns] +116.203.189.84 + +[database] +78.46.197.89 diff --git a/roles/common b/roles/common new file mode 160000 index 0000000..a01d791 --- /dev/null +++ b/roles/common @@ -0,0 +1 @@ +Subproject commit a01d7916e104c7fd86ffb80e490700b04fce8e77 diff --git a/roles/database b/roles/database new file mode 160000 index 0000000..301653e --- /dev/null +++ b/roles/database @@ -0,0 +1 @@ +Subproject commit 301653ec5f7f38ba3f12591291398a31afaa38be diff --git a/roles/dns b/roles/dns new file mode 160000 index 0000000..a297501 --- /dev/null +++ b/roles/dns @@ -0,0 +1 @@ +Subproject commit a297501524141d31d142ad09099006dafaadfe3b diff --git a/roles/monitoring b/roles/monitoring new file mode 160000 index 0000000..fef66f3 --- /dev/null +++ b/roles/monitoring @@ -0,0 +1 @@ +Subproject commit fef66f3389adf275f336351f97d8ce28cabfa3b7 diff --git a/roles/web b/roles/web new file mode 160000 index 0000000..8c73d5a --- /dev/null +++ b/roles/web @@ -0,0 +1 @@ +Subproject commit 8c73d5a6a7080862bf96ce50fbac32e9dbbc7786 diff --git a/testing b/testing new file mode 100644 index 0000000..e69de29 diff --git a/web.yml b/web.yml new file mode 100644 index 0000000..029c467 --- /dev/null +++ b/web.yml @@ -0,0 +1,4 @@ +--- +- hosts: web + roles: + - web