aboutsummaryrefslogtreecommitdiff
path: root/ansible/group_vars
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-11-26 22:33:54 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2018-11-26 22:33:54 +0100
commitb7bccaf7ff75fd2234b9232f595cbc8e226b80e9 (patch)
tree3e2822166b9be455f7589e56ca28a685bbccd2d8 /ansible/group_vars
parent6fe44ad6366232314d45502d387ccbc671e84d9f (diff)
downloadinfra-b7bccaf7ff75fd2234b9232f595cbc8e226b80e9.tar.gz
infra-b7bccaf7ff75fd2234b9232f595cbc8e226b80e9.tar.bz2
infra-b7bccaf7ff75fd2234b9232f595cbc8e226b80e9.tar.xz
infra-b7bccaf7ff75fd2234b9232f595cbc8e226b80e9.zip
o Importing bitraf-base, packages and postfix-satellite from Bitraf.
o Configuring nextcloud.
Diffstat (limited to 'ansible/group_vars')
-rw-r--r--ansible/group_vars/all/host_database.yml26
-rw-r--r--ansible/group_vars/all/postfix.yml1
-rw-r--r--ansible/group_vars/all/users.yml3
-rw-r--r--ansible/group_vars/modern1/trygvis-base.yml5
4 files changed, 34 insertions, 1 deletions
diff --git a/ansible/group_vars/all/host_database.yml b/ansible/group_vars/all/host_database.yml
new file mode 100644
index 0000000..cbc1582
--- /dev/null
+++ b/ansible/group_vars/all/host_database.yml
@@ -0,0 +1,26 @@
+host_database:
+ birgitte:
+ interfaces:
+ wlx00e01d0808b2:
+ role: wan
+ ipv4:
+ address: 192.168.10.3
+ netmask: 24
+ gateway: 192.168.10.1
+ int0:
+ role: lan
+ ipv4:
+ address: 192.168.90.100
+ netmask: 24
+ ipv6:
+ address: cafe::1
+ netmask: 64
+ nextcloud:
+ interfaces:
+ eth0:
+ role: lan
+ hwaddr: 0e:18:a7:03:50:54
+ ipv4:
+ address: 192.168.90.101
+ netmask: 24
+ gateway: 192.168.90.100
diff --git a/ansible/group_vars/all/postfix.yml b/ansible/group_vars/all/postfix.yml
new file mode 100644
index 0000000..56516f1
--- /dev/null
+++ b/ansible/group_vars/all/postfix.yml
@@ -0,0 +1 @@
+postfix__relayhost: "[trygvis.io]:587"
diff --git a/ansible/group_vars/all/users.yml b/ansible/group_vars/all/users.yml
index 23304ba..a2a59d3 100644
--- a/ansible/group_vars/all/users.yml
+++ b/ansible/group_vars/all/users.yml
@@ -3,4 +3,5 @@ users:
authorized_keys: |
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPX+sVfRvl0+KxsDlbIutyB/Es3exTwNfDVHwi9orwz3 trygvis@birgitte
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJAzB6JB/hZ87M6ozsd7lgKxgOacEOZZRxa4ucs11lqq trygvis@conflatorio
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE+I9Xa11yaOzGCBkJQEYExYL7gSWYwdOGgT2KBMnKur trygvis@arius
+ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFMRccGxF1l7xIUavu5vDqypCe/aon3+bdFgEhPa7pPb trygvis@arius-v3
+ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE/Xrsk69KhaXdHPcbBoCbqlQ2DXmx77OnkLAk22ui5m trygvis@malabaricus
diff --git a/ansible/group_vars/modern1/trygvis-base.yml b/ansible/group_vars/modern1/trygvis-base.yml
new file mode 100644
index 0000000..b530673
--- /dev/null
+++ b/ansible/group_vars/modern1/trygvis-base.yml
@@ -0,0 +1,5 @@
+trygvis_base__etc_localtime: yes
+trygvis_base__remove_root_authorized_keys: yes
+trygvis_base__fix_aliases: yes
+trygvis_base__fix_hosts: yes
+trygvis_base__syslog: yes