infra-ansible

ansible script to ship alpine/ssh/wireguard

git clone https://9o.is/git/infra-ansible.git

commit 53a31dbad9e72493b56fbae20940e8dd4b9563f4
parent 61c50c932e051fe31340c44c9073925b888cc7b8
Author: Jul <jul@9o.is>
Date:   Mon, 13 May 2024 19:12:54 +0800

change to inventory yaml

Diffstat:
Mhost/ansible.cfg | 2+-
Dhost/hosts | 2--
Ahost/inventory.yml | 10++++++++++
3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/host/ansible.cfg b/host/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -inventory = hosts +inventory = inventory.yml vault_password_file = contrib/vault-password.sh [diff] diff --git a/host/hosts b/host/hosts @@ -1,2 +0,0 @@ -[servers] -server01.9o.is diff --git a/host/inventory.yml b/host/inventory.yml @@ -0,0 +1,10 @@ +--- + +all: + hosts: + server01.9o.is: + static_ip: 89.147.110.9 + static_subnet: 255.255.255.0 + static_gateway: 89.147.110.1 + static_nameservers: 93.95.224.28 93.95.224.29 +