Skip to content

Commit

Permalink
cluster_setup_network: make syslog optional
Browse files Browse the repository at this point in the history
The variable `syslog_server_ip` is now optional. When not given, no logs
will be sent.

Signed-off-by: Erwann Roussy <[email protected]>
  • Loading branch information
eroussy committed Feb 12, 2024
1 parent 31d33c4 commit 32bcae9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ all:
# Change the Ansible working folder to a rw accessible folder
ansible_remote_tmp: /tmp/.ansible/tmp
# The syslog server IP address where logs are centralized
# Optional, if not given, no log will be sent
syslog_server_ip: "192.168.220.6"
# The vlan ID of the PTP. Remove the variable if the ptp frames
# are not in a VLAN
Expand Down
1 change: 1 addition & 0 deletions playbooks/cluster_setup_network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@
state: present
notify:
- Restart systemd syslog-ng
when: syslog_server_ip is defined
handlers:
- name: Restart systemd syslog-ng
vars:
Expand Down

0 comments on commit 32bcae9

Please sign in to comment.