<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">dictionary</span>
</div>
</td>
<td>
</td>
<td>
- <div>logging to serial console</div>
+ <div>Global logging parameters. On VyOS 1.5+, facilities map to <code>set system syslog local</code>, and <code>marker_interval</code>/<code>preserve_fqdn</code> move to top-level CLI paths. The <code>archive</code> suboption is <b>not supported on VyOS 1.5+</b> and will be ignored with a warning.</div>
+ <div>Logging to a local user terminal. <b>Not supported on VyOS 1.5+.</b> If provided on a 1.5+ device, this option will be ignored with a warning.</div>
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">string</span>
</div>
</td>
<td>
</td>
<td>
<div>This option is used only with state <em>parsed</em>.</div>
<div>The value of this option should be the output received from the VYOS device by executing the command <b>show configuration commands | grep syslog</b>.</div>
<div>The state <em>parsed</em> reads the configuration from <code>running_config</code> option and transforms it into Ansible structured data as per the resource module's argspec and the value is then returned in the <em>parsed</em> key within the result.</div>
<div>The state the configuration should be left in</div>
<div>The states <em>replaced</em> and <em>overridden</em> have identical behaviour for this module.</div>
<div>Refer to examples for more details.</div>
</td>
</tr>
</table>
<br/>
Notes
-----
.. note::
- - Tested against VyOS 1.3.8, 1.4.2, the upcoming 1.5, and the rolling release of spring 2025
+ - Tested against VyOS 1.3.8, 1.4.2, 1.5.0, and the rolling release of spring 2025.
- This module works with connection ``network_cli``.
- - The Configuration defaults of the Vyos network devices are supposed to hinder idempotent behavior of plays
+ - The Configuration defaults of the VyOS network devices are supposed to hinder idempotent behavior of plays.
+ - **VyOS 1.5+ breaking changes**: The ``files``, ``users``, and ``global_params.archive`` options are not supported on VyOS 1.5+. If provided, they will be ignored with a warning. The ``global_params`` facilities now map to ``set system syslog local`` (was ``set system syslog global``). Remote hosts now map to ``set system syslog remote`` (was ``set system syslog host``). The ``marker_interval`` and ``preserve_fqdn`` options moved to top-level (was under ``global_params`` in the CLI, argspec key unchanged).
+ # "set system syslog remote 172.16.0.1 port 514",
+ # "set system syslog remote 172.16.0.1 protocol udp",
+ # "set system syslog local facility cron level debug",
+ # "set system syslog marker interval 111",
+ # "set system syslog preserve-fqdn"
+ # ]
Return Values
-------------
Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module:
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">This output will always be in the same format as the module argspec.</div>
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">This output will always be in the same format as the module argspec.</div>
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">This output will always be in the same format as the module argspec.</div>
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">This output will always be in the same format as the module argspec.</div>