From e35347da9fd48f9ed5b7e05dbdbd4ec636130582 Mon Sep 17 00:00:00 2001 From: hogweed1 Date: Wed, 12 Aug 2026 00:39:36 +1000 Subject: [PATCH] some preps to make lbs. --- playbooks/software/angie.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/software/angie.yml b/playbooks/software/angie.yml index a01fbd4..5cfffd0 100644 --- a/playbooks/software/angie.yml +++ b/playbooks/software/angie.yml @@ -49,10 +49,10 @@ ansible.builtin.stat: # Папка files лежит в корне, откуда вы запускаете playbook, # поэтому здесь пишем прямой путь от корня запуска. - path: "files/angie/{{ inventory_hostname }}.conf" + path: "/usr/share/ansible-repo/files/angie/{{ inventory_hostname }}.conf" delegate_to: localhost register: remote_config_file - + - name: Копировать конфиг Angie только если есть персональный файл ansible.builtin.copy: src: "files/angie.{{ inventory_hostname }}.conf"