feat(monitoring): integrate alertmanager-ntfy and fix host dropdown in node exporter dashboard
ansible-core-mon / deploy (push) Failing after 21s
ansible-core-net / deploy (push) Successful in 24s
ansible-core-secrets / deploy (push) Successful in 13s
ansible-rus-central / deploy (push) Successful in 1m1s

This commit is contained in:
karpenok committed 2026-11-11 20:54:55 +07:00
1 parent bf4144a767
commit 317b5d6207
8 files changed
+92 -18

No files matched your search

+13
View File
@@ -6,6 +6,19 @@
- name: Собрать факты
ansible.builtin.setup:
- name: Установить hostname хоста
ansible.builtin.hostname:
name: "{{ inventory_hostname }}"
failed_when: false
- name: Обеспечить запись inventory_hostname в /etc/hosts
ansible.builtin.lineinfile:
path: /etc/hosts
line: "127.0.1.1 {{ inventory_hostname }}"
regexp: '^127\.0\.1\.1\s+'
state: present
failed_when: false
- name: Создать каталог .ssh
ansible.builtin.file:
path: /root/.ssh