diff --git a/roles/fabric/tasks/main.yml b/roles/fabric/tasks/main.yml index e0f9c30..155cefd 100644 --- a/roles/fabric/tasks/main.yml +++ b/roles/fabric/tasks/main.yml @@ -8,14 +8,37 @@ regexp: '^127.0.1.1\s+' line: "127.0.1.1 {{ inventory_hostname }}" +- name: Tell nvue to leave configuration files alone + shell: "nv set system config apply ignore {{ item }}" + loop: + - /etc/cumulus/ports.conf + - /etc/default/isc-dhcp-relay-default + - /etc/dhcp/dhcpd.conf + - /etc/frr/daemons + - /etc/frr/frr.conf + - /etc/hosts + - /etc/passwd + - /etc/passwd- + - /etc/shadow + - /etc/shadow- + - /etc/hostname + - /etc/network/interfaces + - /etc/resolv.conf + +- name: Enable QoS using nv + shell: "nv set qos roce" + +- name: Apply nvued config + shell: "nv config apply" + - name: Disable unneeded services service: name: '{{ item }}' enabled: false state: stopped loop: - - nvued - - nvue-startup + # - nvued + # - nvue-startup - netqd@mgmt - snmpd