Update inventory, remote-logging-setup

+7 -11
inventory.yml
···
ansible_user: jas
ansible_host: hyperreal-locale.hs.ms.dev
ansible_python_interpreter: /usr/bin/python3
+
tor:
+
ansible_user: jas
+
ansible_host:
+
ansible_python_interpreter: /usr/bin/python3
fcos_servers:
hosts:
···
ansible_user: jas
ansible_host: nas.hs.ms.dev
ansible_python_interpreter: /usr/local/bin/python3
-
moonshadow:
-
ansible_user: jas
-
ansible_host: moonshadow.hs.ms.dev
-
ansible_python_interpreter: /usr/local/bin/python3
dietpi:
ansible_user: jas
ansible_host: dietpi.hs.ms.dev
···
ansible_user: jas
ansible_host: nas.hs.ms.dev
ansible_python_interpreter: /usr/local/bin/python3
-
moonshadow:
-
ansible_user: jas
-
ansible_host: moonshadow.hs.ms.dev
-
ansible_python_interpreter: /usr/local/bin/python3
nas-aux:
ansible_user: jas
ansible_host: nas-aux.hs.ms.dev
···
prom_servers:
hosts:
-
desktop:
-
ansible_user: jas
-
ansible_host: localhost
+
dietpi:
+
ansible_user: dietpi
+
ansible_host: dietpi.hs.ms.dev
ansible_python_interpreter: /usr/bin/python3
prom_clients:
+2 -3
remote-logging-setup.yml
···
state: absent
when: ansible_system == "Linux"
-
- name: Get control node headnet IP address
-
ansible.builtin.shell: tailscale status | grep "desktop" | awk '{print $1}'
+
- name: Get remote logging server headnet IP address
+
ansible.builtin.shell: tailscale status | grep "dietpi" | awk '{print $1}'
register: ctrl_headnet_ip_addr
changed_when: false
-
delegate_to: 127.0.0.1
failed_when: ctrl_headnet_ip_addr.rc != 0
- name: Configure log forwarding