-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move leaf
and router
role from metal-roles into mini-lab.
#161
Conversation
leaf
and router
role from metal-roles into mini-lab.leaf
role from metal-roles into mini-lab.
Maybe rename the role |
leaf
role from metal-roles into mini-lab.leaf
and router
role from metal-roles into mini-lab.
- name: render frr configuration | ||
template: | ||
src: frr.conf.j2 | ||
dest: /etc/frr/frr.conf | ||
validate: '/usr/bin/vtysh --dryrun --inputfile %s' | ||
tags: frr | ||
register: frr_rendered | ||
notify: reload frr | ||
when: "ansible_facts.services['metal-core.service'] is not defined" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed for a leaf
- name: render interfaces configuration | ||
template: | ||
src: interfaces.j2 | ||
dest: /etc/network/interfaces | ||
validate: '/sbin/ifup --syntax-check --all --interfaces %s' | ||
notify: reload interfaces | ||
when: "ansible_facts.services['metal-core.service'] is not defined" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed for a leaf
Fails when I apply your requested changes:
Please feel free to commit to this pull request directly if you want changes for the switch configuration as I will not be able to judge those. I only moved existing tasks with this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine. Reworking will be done in the next PR.
Closes #155.