From 51c882a2afef46c1e391f8197d9b540f1c03e0d7 Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 10 Oct 2025 15:52:26 +0000 Subject: [PATCH] Update 3 files - /ansible.cfg - /inventories/hosts.yml - /olimp-deploy.yml --- ansible.cfg | 2 +- inventories/hosts.yml | 4 ++-- olimp-deploy.yml | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index cca0d36..05561b5 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -collections_paths = /root/.ansible/collections:/usr/share/ansible/collections +collections_path = /root/.ansible/collections:/usr/share/ansible/collections inventory = inventories/hosts.yml host_key_checking = False remote_user = root diff --git a/inventories/hosts.yml b/inventories/hosts.yml index 7a9c449..8e4d555 100644 --- a/inventories/hosts.yml +++ b/inventories/hosts.yml @@ -1,12 +1,12 @@ all: children: - proxmox: + proxmox_server: hosts: proxmox: ansible_host: 192.168.1.200 ansible_user: root - gateway: + gateway_server: hosts: gateway: ansible_host: 192.168.1.221 diff --git a/olimp-deploy.yml b/olimp-deploy.yml index 366ec32..ce88c1b 100644 --- a/olimp-deploy.yml +++ b/olimp-deploy.yml @@ -1,6 +1,6 @@ --- - name: Create Gateway LXC container in Proxmox - hosts: proxmox + hosts: proxmox_server gather_facts: false vars_files: - vault.yml @@ -9,7 +9,7 @@ tags: deploy_lxc - name: Base setup for gateway - hosts: gateway + hosts: gateway_server vars_files: - vault.yml roles: @@ -17,19 +17,19 @@ tags: base_setup - name: Install Docker on gateway - hosts: gateway + hosts: gateway_server roles: - role: docker tags: deploy_docker - name: Deploy Heimdall service - hosts: gateway + hosts: gateway_server roles: - role: heimdall tags: deploy_heimdall - name: Deploy NPM service - hosts: gateway + hosts: gateway_server roles: - role: npm tags: deploy_npm \ No newline at end of file