This commit is contained in:
mrwho 2026-05-08 22:15:39 +03:00
parent 9ed73e4a09
commit 1f4de8193f
4 changed files with 4 additions and 69 deletions

View file

@ -1,47 +1,9 @@
--- ---
all: all:
children: children:
# ── CentOS 7 servers ────────────────────────────────────────────────────
centos: centos:
hosts: hosts:
billing-main: router:
ansible_host: 91.218.87.226 ansible_host: 172.20.21.100
bitrix24: git:
ansible_host: 91.218.87.249 ansible_host: 172.20.21.105
asr-ckat-bras-zarya-rp:
ansible_host: 10.203.0.251
db-1:
ansible_host: 91.218.87.221
db-2:
ansible_host: 91.218.87.222
service-1:
ansible_host: 91.218.87.225
service-2:
ansible_host: 10.201.0.46
vm-db-pgsql-1:
ansible_host: 10.203.0.86
vm-tp:
ansible_host: 10.201.0.6
# ── Debian 12 servers ───────────────────────────────────────────────────
debian:
hosts:
sandbox:
ansible_host: 10.203.0.211
sandbox-gpu:
ansible_host: 10.203.0.212
sandbox-2:
ansible_host: 10.203.0.213
ns3:
ansible_host: 10.203.0.84
zabbix:
ansible_host: 10.203.0.50
zabbix-db:
ansible_host: 10.203.0.51
svc-node-3:
ansible_host: 10.203.0.78
netxms:
ansible_host: 10.203.0.79
netxms-db:
ansible_host: 10.203.0.82

View file

@ -1,9 +0,0 @@
---
# ── SSH connection ─────────────────────────────────────────────────────────────
ansible_user: "{{ lookup('env', 'ANSIBLE_SSH_USER') | mandatory }}"
ansible_password: "{{ lookup('env', 'ANSIBLE_SSH_PASS') | mandatory }}"
ansible_become: true
ansible_become_method: sudo
ansible_become_pass: "{{ lookup('env', 'ANSIBLE_BECOME_PASS') | default(lookup('env', 'ANSIBLE_SSH_PASS'), true) }}"
ansible_ssh_common_args: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"

View file

@ -1,3 +0,0 @@
---
ansible_python_interpreter: /usr/bin/python3
users_sudo_group: wheel

View file

@ -1,15 +0,0 @@
---
# Тестовый инвентарь для ветки a.kazantsev
# Используется в CI для syntax-check плейбуков, не входящих в prod-инвентарь
all:
children:
rocky9:
hosts:
router:
ansible_host: 172.20.21.100
vm01:
ansible_host: 80.211.195.127
agent_2_plugin_list: [named]
vm02:
ansible_host: 212.60.5.162
agent_2_plugin_list: [named]