We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dfe945 commit 2487302Copy full SHA for 2487302
netsim/ansible/tasks/deploy-config/vyos.yml
@@ -20,5 +20,6 @@
20
21
- name: "execute config-{{ netsim_action }}.sh to deploy {{ netsim_action }} config from {{ config_template }}"
22
command: "/bin/vbash {{ destination_script }}"
23
- become: true
24
tags: [ print_action, always ]
+ register: cmdout
25
+ failed_when: "' Set failed' in cmdout.stderr_lines"
netsim/ansible/templates/initial/vyos.j2
@@ -89,7 +89,7 @@ set interfaces {{ ns.iface_level }} {{ ns.ifname }} vrf {{ l.vrf }}
89
{% endfor %}
90
91
set service lldp interface all
92
-set service lldp interface {{ mgmt.ifname|default('eth0') }} disable
+set service lldp interface {{ mgmt.ifname|default('eth0') }} mode disable
93
94
{# IPv6 RA config #}
95
{% for l in netlab_interfaces if 'ipv6' in l and l.type != 'loopback' %}
0 commit comments