From 081c6946f3df36b3034ef58413365e132b0b2e75 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 28 May 2023 13:18:56 -0400 Subject: [PATCH] Add the base role to mrmanager. --- ansible/environments/colo/host_vars/mrmanager | 2 ++ ansible/playbook.yaml | 1 + ansible/roles/base/files/mrmanager_loader.conf | 1 + ansible/roles/base/files/mrmanager_rc.conf | 8 ++++++++ 4 files changed, 12 insertions(+) create mode 100644 ansible/roles/base/files/mrmanager_loader.conf create mode 100644 ansible/roles/base/files/mrmanager_rc.conf diff --git a/ansible/environments/colo/host_vars/mrmanager b/ansible/environments/colo/host_vars/mrmanager index 6803a66..ebd9ae4 100644 --- a/ansible/environments/colo/host_vars/mrmanager +++ b/ansible/environments/colo/host_vars/mrmanager @@ -2,3 +2,5 @@ os_flavor: "freebsd" zfs_snapshot_datasets: - zroot/freebsd/main/be sshd_enabled: true +loader_conf: "mrmanager_loader.conf" +rc_conf: "mrmanager_rc.conf" diff --git a/ansible/playbook.yaml b/ansible/playbook.yaml index 37e1c66..9c109c3 100644 --- a/ansible/playbook.yaml +++ b/ansible/playbook.yaml @@ -75,3 +75,4 @@ - zsh - network - sshd + - base diff --git a/ansible/roles/base/files/mrmanager_loader.conf b/ansible/roles/base/files/mrmanager_loader.conf new file mode 100644 index 0000000..6129b89 --- /dev/null +++ b/ansible/roles/base/files/mrmanager_loader.conf @@ -0,0 +1 @@ +zfs_load="YES" diff --git a/ansible/roles/base/files/mrmanager_rc.conf b/ansible/roles/base/files/mrmanager_rc.conf new file mode 100644 index 0000000..4b36618 --- /dev/null +++ b/ansible/roles/base/files/mrmanager_rc.conf @@ -0,0 +1,8 @@ +hostname="mrmanager" +ifconfig_igb0="inet 74.80.180.138 netmask 255.255.255.248" +ifconfig_igb1="inet 74.80.180.139 netmask 255.255.255.248" +defaultrouter="74.80.180.137" +sshd_enable="YES" +zfs_enable="YES" +wireguard_enable="YES" +wireguard_interfaces="colo"