32dc34c70b
Enabled INJECT_FACTS_AS_VARS[1] (which is default behaviour) has very negative impact on Ansible performance [2]. In order to be able to reduce amount of variables and performance penalty, role is being adopted to be used with no injected facts [1] https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_vars_facts.html#ansible-facts [2] https://github.com/ansible/ansible/issues/73654 Change-Id: I71a326964be7597ebaad0183c3a774321885c6f5
17 lines
241 B
Django/Jinja
17 lines
241 B
Django/Jinja
!
|
|
! Zebra configuration
|
|
!
|
|
frr defaults traditional
|
|
!
|
|
hostname {{ ansible_facts['hostname'] }}
|
|
log syslog informational
|
|
!
|
|
! staticd config
|
|
{{ frr_staticd_routes | join('\n') }}
|
|
!
|
|
!
|
|
! bgpd config
|
|
{{ frr_bgpd_config | join('\n') }}
|
|
!
|
|
line vty
|
|
! |