diff --git a/inventory/prod/hosts.yml b/inventory/prod/hosts.yml index 8e7ac82..ea468b2 100644 --- a/inventory/prod/hosts.yml +++ b/inventory/prod/hosts.yml @@ -1,47 +1,9 @@ --- all: children: - - # ── CentOS 7 servers ──────────────────────────────────────────────────── centos: hosts: - billing-main: - ansible_host: 91.218.87.226 - bitrix24: - ansible_host: 91.218.87.249 - 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 + router: + ansible_host: 172.20.21.100 + git: + ansible_host: 172.20.21.105 diff --git a/inventory/test/group_vars/all/vars.yml b/inventory/test/group_vars/all/vars.yml deleted file mode 100644 index 72a0fed..0000000 --- a/inventory/test/group_vars/all/vars.yml +++ /dev/null @@ -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" diff --git a/inventory/test/group_vars/rocky9/vars.yml b/inventory/test/group_vars/rocky9/vars.yml deleted file mode 100644 index f266421..0000000 --- a/inventory/test/group_vars/rocky9/vars.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -ansible_python_interpreter: /usr/bin/python3 -users_sudo_group: wheel diff --git a/inventory/test/hosts.yml b/inventory/test/hosts.yml deleted file mode 100644 index 00dc4bb..0000000 --- a/inventory/test/hosts.yml +++ /dev/null @@ -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]