some preps to make lbs.
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s
This commit is contained in:
@@ -49,10 +49,10 @@
|
|||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
# Папка files лежит в корне, откуда вы запускаете playbook,
|
# Папка files лежит в корне, откуда вы запускаете playbook,
|
||||||
# поэтому здесь пишем прямой путь от корня запуска.
|
# поэтому здесь пишем прямой путь от корня запуска.
|
||||||
path: "files/angie/{{ inventory_hostname }}.conf"
|
path: "/usr/share/ansible-repo/files/angie/{{ inventory_hostname }}.conf"
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
register: remote_config_file
|
register: remote_config_file
|
||||||
|
|
||||||
- name: Копировать конфиг Angie только если есть персональный файл
|
- name: Копировать конфиг Angie только если есть персональный файл
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "files/angie.{{ inventory_hostname }}.conf"
|
src: "files/angie.{{ inventory_hostname }}.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user