summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--group_vars/all.ymlbin4347 -> 26 bytes
-rw-r--r--group_vars/all.yml.example77
-rw-r--r--group_vars/homelab.ymlbin0 -> 4347 bytes
-rw-r--r--group_vars/homelab.yml.example78
-rw-r--r--molecule/archlinux-gnome/molecule.yml1
-rw-r--r--molecule/archlinux/molecule.yml1
-rw-r--r--molecule/debian/molecule.yml1
-rw-r--r--molecule/inventory.yml9
-rw-r--r--molecule/proxmox/molecule.yml1
-rw-r--r--molecule/raspberrypi/molecule.yml1
-rw-r--r--molecule/ubuntu/molecule.yml1
11 files changed, 93 insertions, 77 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml
index ffc5eb07..20f84e62 100644
--- a/group_vars/all.yml
+++ b/group_vars/all.yml
Binary files differ
diff --git a/group_vars/all.yml.example b/group_vars/all.yml.example
index e240f347..ed97d539 100644
--- a/group_vars/all.yml.example
+++ b/group_vars/all.yml.example
@@ -1,78 +1 @@
---
-username: "test_user"
-user_public_keys:
- - "ssh-ed25519 AAAA...fMo"
- - "ssh-rsa AAAA...4I3"
-network_wifi_ssid: "TEST_WIFI_SSID"
-network_wifi_pass: "TEST_WIFI_PASS"
-ssh_port: 39901
-gpg_public_keys:
- # gpg --export --armor keyID
- - |
- -----BEGIN PGP PUBLIC KEY BLOCK-----
-
- mDMEaQ/mwBYJKwYBBAHaRw8BAQdAf/q5SPlxG6QAKcTIo+TMsCabKM0Huy/is6fL
- 07BHVo20HFRlc3QgVXNlciA8dGVzdEBleGFtcGxlLmNvbT6IkwQTFgoAOxYhBHVA
- jj+TfMUsAFfUMtGYo0VqlTV1BQJpD+bAAhsDBQsJCAcCAiICBhUKCQgLAgQWAgMB
- Ah4HAheAAAoJENGYo0VqlTV1ajQBALZLAy0YmyGxVZg67ClzDMgyGfc44eHXclPT
- 1HJC52u1AP4slgW0KiTgCU/aHQDwZcrFOqMFP+yzr3RGlrkzc9K0BQ==
- =u+nG
- -----END PGP PUBLIC KEY BLOCK-----
-
-timezone: "UTC"
-
-locales:
- - "en_US.UTF-8 UTF-8"
- - "de_DE.UTF-8 UTF-8"
-locales_lang: "en_US.UTF-8"
-locales_language: "en_US.UTF-8"
-locales_lc_time: "de_DE.UTF-8"
-locales_time_style: "iso"
-locales_lc_collate: "C.UTF-8"
-
-password_policy_enabled: true
-password_policy_minlen: 8
-password_policy_dcredit: 1
-password_policy_ucredit: 1
-password_policy_ocredit: 1
-password_policy_lcredit: 1
-password_policy_minclass: 4
-password_policy_maxrepeat: 3
-password_policy_maxclassrepeat: 0
-password_policy_gecoscheck: 0
-
-dotfiles_repo_url: "https://git.sr.ht/~a14m/.rc"
-dotfiles_setup_script: |
- set -e
-
- rm -f ~/.bash_profile ~/.bashrc
- cd ~/.rc
- stow --no-folding --adopt .
- git restore .
- git remote set-url origin [email protected]:~a14m/.rc
-
-password_store_repo_url: "[email protected]:a14m/.pass"
-vimrc_repo_url: "[email protected]:~a14m/.vim"
-vimrc_setup_script: |
- # NOTE: based on https://stackoverflow.com/a/33734425/1769515
- vim -E -s -u ~/.vimrc +PlugInstall +qall
-
-chromium_is_default: false
-firefox_is_default: true
-
-proxy_type: "nginx"
-
-wireguard_autostart_connection: "vpn0"
-wireguard_connections:
- # All wireguard config files are prefixed with wg-
- # The following connection will be named wg-vpn0
- vpn0: |
- [Interface]
- PrivateKey = your_private_key_here
- Address = 10.2.0.2/32
- DNS = 10.2.0.1
-
- [Peer]
- PublicKey = server_public_key
- AllowedIPs = 0.0.0.0/0
- Endpoint = vpn.com:51820
diff --git a/group_vars/homelab.yml b/group_vars/homelab.yml
new file mode 100644
index 00000000..ffc5eb07
--- /dev/null
+++ b/group_vars/homelab.yml
Binary files differ
diff --git a/group_vars/homelab.yml.example b/group_vars/homelab.yml.example
new file mode 100644
index 00000000..e240f347
--- /dev/null
+++ b/group_vars/homelab.yml.example
@@ -0,0 +1,78 @@
+---
+username: "test_user"
+user_public_keys:
+ - "ssh-ed25519 AAAA...fMo"
+ - "ssh-rsa AAAA...4I3"
+network_wifi_ssid: "TEST_WIFI_SSID"
+network_wifi_pass: "TEST_WIFI_PASS"
+ssh_port: 39901
+gpg_public_keys:
+ # gpg --export --armor keyID
+ - |
+ -----BEGIN PGP PUBLIC KEY BLOCK-----
+
+ mDMEaQ/mwBYJKwYBBAHaRw8BAQdAf/q5SPlxG6QAKcTIo+TMsCabKM0Huy/is6fL
+ 07BHVo20HFRlc3QgVXNlciA8dGVzdEBleGFtcGxlLmNvbT6IkwQTFgoAOxYhBHVA
+ jj+TfMUsAFfUMtGYo0VqlTV1BQJpD+bAAhsDBQsJCAcCAiICBhUKCQgLAgQWAgMB
+ Ah4HAheAAAoJENGYo0VqlTV1ajQBALZLAy0YmyGxVZg67ClzDMgyGfc44eHXclPT
+ 1HJC52u1AP4slgW0KiTgCU/aHQDwZcrFOqMFP+yzr3RGlrkzc9K0BQ==
+ =u+nG
+ -----END PGP PUBLIC KEY BLOCK-----
+
+timezone: "UTC"
+
+locales:
+ - "en_US.UTF-8 UTF-8"
+ - "de_DE.UTF-8 UTF-8"
+locales_lang: "en_US.UTF-8"
+locales_language: "en_US.UTF-8"
+locales_lc_time: "de_DE.UTF-8"
+locales_time_style: "iso"
+locales_lc_collate: "C.UTF-8"
+
+password_policy_enabled: true
+password_policy_minlen: 8
+password_policy_dcredit: 1
+password_policy_ucredit: 1
+password_policy_ocredit: 1
+password_policy_lcredit: 1
+password_policy_minclass: 4
+password_policy_maxrepeat: 3
+password_policy_maxclassrepeat: 0
+password_policy_gecoscheck: 0
+
+dotfiles_repo_url: "https://git.sr.ht/~a14m/.rc"
+dotfiles_setup_script: |
+ set -e
+
+ rm -f ~/.bash_profile ~/.bashrc
+ cd ~/.rc
+ stow --no-folding --adopt .
+ git restore .
+ git remote set-url origin [email protected]:~a14m/.rc
+
+password_store_repo_url: "[email protected]:a14m/.pass"
+vimrc_repo_url: "[email protected]:~a14m/.vim"
+vimrc_setup_script: |
+ # NOTE: based on https://stackoverflow.com/a/33734425/1769515
+ vim -E -s -u ~/.vimrc +PlugInstall +qall
+
+chromium_is_default: false
+firefox_is_default: true
+
+proxy_type: "nginx"
+
+wireguard_autostart_connection: "vpn0"
+wireguard_connections:
+ # All wireguard config files are prefixed with wg-
+ # The following connection will be named wg-vpn0
+ vpn0: |
+ [Interface]
+ PrivateKey = your_private_key_here
+ Address = 10.2.0.2/32
+ DNS = 10.2.0.1
+
+ [Peer]
+ PublicKey = server_public_key
+ AllowedIPs = 0.0.0.0/0
+ Endpoint = vpn.com:51820
diff --git a/molecule/archlinux-gnome/molecule.yml b/molecule/archlinux-gnome/molecule.yml
index 04695f62..f8cf7730 100644
--- a/molecule/archlinux-gnome/molecule.yml
+++ b/molecule/archlinux-gnome/molecule.yml
@@ -28,6 +28,7 @@ provisioner:
links:
host_vars: "../../host_vars/"
group_vars: "../../group_vars/"
+ inventory: "../inventory.yml"
env:
ANSIBLE_ROLES_PATH: "../../roles"
GITHUB_TOKEN: "{{ lookup('env', 'GITHUB_TOKEN') }}"
diff --git a/molecule/archlinux/molecule.yml b/molecule/archlinux/molecule.yml
index 9e1e62aa..b0da722b 100644
--- a/molecule/archlinux/molecule.yml
+++ b/molecule/archlinux/molecule.yml
@@ -28,6 +28,7 @@ provisioner:
links:
host_vars: "../../host_vars/"
group_vars: "../../group_vars/"
+ inventory: "../inventory.yml"
env:
ANSIBLE_ROLES_PATH: "../../roles"
GITHUB_TOKEN: "{{ lookup('env', 'GITHUB_TOKEN') }}"
diff --git a/molecule/debian/molecule.yml b/molecule/debian/molecule.yml
index 8b63b54a..78790570 100644
--- a/molecule/debian/molecule.yml
+++ b/molecule/debian/molecule.yml
@@ -28,6 +28,7 @@ provisioner:
links:
host_vars: "../../host_vars/"
group_vars: "../../group_vars/"
+ inventory: "../inventory.yml"
env:
ANSIBLE_ROLES_PATH: "../../roles"
GITHUB_TOKEN: "{{ lookup('env', 'GITHUB_TOKEN') }}"
diff --git a/molecule/inventory.yml b/molecule/inventory.yml
new file mode 100644
index 00000000..dc63becb
--- /dev/null
+++ b/molecule/inventory.yml
@@ -0,0 +1,9 @@
+---
+homelab:
+ hosts:
+ archlinux: {}
+ archlinux-gnome: {}
+ debian: {}
+ proxmox: {}
+ raspberrypi: {}
+ ubuntu: {}
diff --git a/molecule/proxmox/molecule.yml b/molecule/proxmox/molecule.yml
index 751aa58d..4b05c706 100644
--- a/molecule/proxmox/molecule.yml
+++ b/molecule/proxmox/molecule.yml
@@ -28,6 +28,7 @@ provisioner:
links:
host_vars: "../../host_vars/"
group_vars: "../../group_vars/"
+ inventory: "../inventory.yml"
env:
ANSIBLE_ROLES_PATH: "../../roles"
GITHUB_TOKEN: "{{ lookup('env', 'GITHUB_TOKEN') }}"
diff --git a/molecule/raspberrypi/molecule.yml b/molecule/raspberrypi/molecule.yml
index b89e6165..8b47a7a5 100644
--- a/molecule/raspberrypi/molecule.yml
+++ b/molecule/raspberrypi/molecule.yml
@@ -28,6 +28,7 @@ provisioner:
links:
host_vars: "../../host_vars/"
group_vars: "../../group_vars/"
+ inventory: "../inventory.yml"
env:
ANSIBLE_ROLES_PATH: "../../roles"
GITHUB_TOKEN: "{{ lookup('env', 'GITHUB_TOKEN') }}"
diff --git a/molecule/ubuntu/molecule.yml b/molecule/ubuntu/molecule.yml
index 48b3448a..4040e30d 100644
--- a/molecule/ubuntu/molecule.yml
+++ b/molecule/ubuntu/molecule.yml
@@ -28,6 +28,7 @@ provisioner:
links:
host_vars: "../../host_vars/"
group_vars: "../../group_vars/"
+ inventory: "../inventory.yml"
env:
ANSIBLE_ROLES_PATH: "../../roles"
GITHUB_TOKEN: "{{ lookup('env', 'GITHUB_TOKEN') }}"