Browse Source

would be nice to store the inventory configuration

master
cinnaboot 3 years ago
parent
commit
f67e6cb862
  1. 1
      .gitignore
  2. 36
      inventory/bxxa.yml
  3. 18
      inventory/hosts.yml

1
.gitignore vendored

@ -1,3 +1,2 @@
inventory/
data/ data/

36
inventory/bxxa.yml

@ -0,0 +1,36 @@
---
lxd:
hosts:
lxd_host:
ansible_user: ansible
ansible_host: bxxa.cc
ansible_port: 22
host_iface: eth0
containers:
vars:
ansible_user: root
ansible_host: bxxa.cc
ansible_python_interpreter: /usr/bin/python3
hosts:
haproxy:
internal_ip: 10.37.200.99
ansible_port: 2223
domain_name: bxxa.cc
install_certbot: true
homepage:
internal_ip: 10.37.200.106
ansible_port: 2231
file-host:
internal_ip: 10.37.200.105
ansible_port: 2230
gallery:
internal_ip: 10.37.200.103
ansible_port: 2228
gitea:
internal_ip: 10.37.200.104
ansible_port: 2229

18
inventory/hosts.yml

@ -0,0 +1,18 @@
---
lxd:
hosts:
lxd_host:
ansible_user: bort
ansible_host: 192.168.11.125
ansible_port: 22
containers:
vars:
ansible_user: bort
ansible_host: 192.168.11.125
ansible_port: 2229
ansible_python_interpreter: /usr/bin/python3
hosts:
file-host:
internal_ip: 10.98.46.122
Loading…
Cancel
Save