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:
@@ -57,8 +57,8 @@
|
|||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "/usr/share/ansible-repo/files/angie/{{ inventory_hostname }}.conf"
|
src: "/usr/share/ansible-repo/files/angie/{{ inventory_hostname }}.conf"
|
||||||
dest: /etc/angie/http.d/default.conf
|
dest: /etc/angie/http.d/default.conf
|
||||||
owner: root
|
owner: rsync
|
||||||
group: root
|
group: rsync
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
# Проверяем, существует ли файл на мастер-ноде. Если нет — таска просто скипнется
|
# Проверяем, существует ли файл на мастер-ноде. Если нет — таска просто скипнется
|
||||||
# when: query('ansible.builtin.fileglob', '../../files/angie.' ~ inventory_hostname ~ '.conf') | length > 0
|
# when: query('ansible.builtin.fileglob', '../../files/angie.' ~ inventory_hostname ~ '.conf') | length > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user