Skip to content
Draft
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions partition/roles/frr/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@
ansible.builtin.copy:
content: "{{ frr_conf }}"
dest: /etc/frr/frr.conf
validate: "/usr/bin/vtysh --dryrun --inputfile %s"
mode: "0640"
notify: Reload frr
2 changes: 2 additions & 0 deletions partition/roles/mgmt-server/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
ansible.builtin.template:
src: daemon.json.j2
dest: /etc/docker/daemon.json
validate: /usr/bin/python3 -m json.tool %s
mode: "0640"
notify: Reload docker

Expand Down Expand Up @@ -168,6 +169,7 @@
ansible.builtin.template:
src: ssh_config.j2
dest: /home/metal/.ssh/config
validate: /usr/bin/ssh -G -F %s localhost
mode: "0644"
owner: metal
group: metal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
ansible.builtin.copy:
src: /tmp/sonic/config_db.json
dest: /etc/sonic/config_db.json
validate: /usr/bin/python3 -m json.tool %s
mode: "0644"
owner: root
group: root
Expand Down
1 change: 1 addition & 0 deletions partition/roles/sonic-config/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
ansible.builtin.template:
src: iptables.json.j2
dest: /etc/sonic/iptables.json
validate: /usr/bin/python3 -m json.tool %s
mode: "0644"
when: sonic_config_extended_cacl is defined
notify:
Expand Down
Loading