Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions deploy_partition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
hosts: dell_sonic
any_errors_fatal: true
become: true
handlers:
- name: reload systemd daemon
systemd:
daemon_reload: true
tasks:
- name: Check for bgpd.conf presence
ansible.builtin.stat:
Expand All @@ -38,6 +42,15 @@
state: present
key: "{{ lookup('file', 'ssh/id_ed25519.pub') }}"

- name: Install frr-reload.service
copy:
src: /root/.ansible/roles/metal-roles/partition/roles/sonic-config/files/frr-reload.service
dest: /etc/systemd/system/frr-reload.service
remote_src: false
notify:
- reload systemd daemon
changed_when: true

- name: Activate IP MASQUERADE on eth0
ansible.builtin.iptables:
chain: POSTROUTING
Expand Down
Loading