ocd++

+6 -2
inventory.yml
···
ansible_user: jas
ansible_host: hyperreal.carp-wyvern.ts.net
ansible_python_interpreter: /usr/bin/python3
+
aux:
+
ansible_user: jas
+
ansible_host: aux.carp-wyvern.ts.net
+
ansible_python_interpreter: /usr/bin/python3
freebsd_servers:
hosts:
nas:
···
debian_servers:
prom_servers:
hosts:
-
desktop:
+
aux:
ansible_user: jas
-
ansible_host: desktop.carp-wyvern.ts.net
+
ansible_host: aux.carp-wyvern.ts.net
ansible_python_interpreter: /usr/bin/python3
remote_logging_clients:
children:
+2 -2
remote-logging-setup.yml
···
state: absent
when: ansible_system == "Linux"
- name: Get remote logging server headnet IP address
-
ansible.builtin.shell: tailscale status | grep "desktop" | awk '{print $1}'
+
ansible.builtin.shell: tailscale status | grep "aux" | awk '{print $1}'
register: ctrl_headnet_ip_addr
changed_when: false
failed_when: ctrl_headnet_ip_addr.rc != 0
···
group: root
mode: 0644
block: |
-
# Forward to desktop.ayu-matrix.ts.net ({{ctrl_headnet_ip_addr.stdout}})
+
# Forward to aux.carp-wyvern.ts.net ({{ctrl_headnet_ip_addr.stdout}})
*.* action(type="omfwd" target="{{ctrl_headnet_ip_addr.stdout}}" port="514" protocol="tcp"
action.resumeRetryCount="100"
queue.type="linkedList" queue.size="10000")