some preps to make lbs.
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s

This commit is contained in:
hogweed1
2026-08-12 00:39:36 +10:00
parent 96f33c40a2
commit e35347da9f

View File

@@ -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"