commit 715c431b1bc129831e3eae933669919fced673f0
Author: minerva-jupiter <ryouturn@gmail.com>
Date: Sat, 16 May 2026 13:59:27 +0900
feat: initial setup of Vulcanus server administration project
Initialize project structure with Ansible configuration, including host inventory for Debian, Ubuntu, and Gentoo systems, and base maintenance roles for package management.
Diffstat:
6 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1 @@
+
diff --git a/README.md b/README.md
@@ -0,0 +1 @@
+Here is Vulcanus to administrate my persoanl servers.
diff --git a/ansible/inventory.ini b/ansible/inventory.ini
@@ -0,0 +1,21 @@
+[debian_hosts]
+proxmox01 ansible_host=192.168.0.15
+devcontainer ansible_host=192.168.0.149
+
+[ubuntu_hosts]
+softether ansible_host=192.168.0.129
+docker-synapse ansible_host=192.168.0.133
+cf-tunnels ansible_host=192.168.0.134
+github-runner ansible_host=192.168.0.135
+filebrowser ansible_host=192.168.0.147
+zabbix01 ansible_host=192.168.0.148
+
+[gentoo_hosts]
+ceres ansible_host=192.168.0.145
+
+# 今回は対象外、または非アクティブなホスト
+#[slackware_hosts]
+#slack-test ansible_host=192.168.0.150
+
+[all:vars]
+ansible_user=tetsu
diff --git a/ansible/roles/debian_base/tasks/main.yml b/ansible/roles/debian_base/tasks/main.yml
@@ -0,0 +1,4 @@
+- name: Update apt chache and upgrade all packages
+ apt:
+ update_cache: yes
+ upgrade: safe
diff --git a/ansible/roles/gentoo_base/tasks/main.yml b/ansible/roles/gentoo_base/tasks/main.yml
@@ -0,0 +1,10 @@
+- name: Sync Portage tree
+ community.general.portage:
+ sync: yes
+
+- name: Upgrade @world packages
+ community.general.portage:
+ package: "@world"
+ update: yes
+ deep: yes
+ newuse: yes
diff --git a/ansible/site.yml b/ansible/site.yml
@@ -0,0 +1,11 @@
+- name: Update Debian and Ubuntu systems
+ hosts: debian_hosts:ubuntu_hosts
+ gather_facts: true
+ roles:
+ - debian_base
+
+- name: Update Gentoo system
+ hosts: gentoo_hosts
+ gather_facts: true
+ roles:
+ - gentoo_base