diff --git a/ansible/roles/test/tasks/run_config_cleanup.yml b/ansible/roles/test/tasks/run_config_cleanup.yml index dc996eaaad0..216c654f7e3 100644 --- a/ansible/roles/test/tasks/run_config_cleanup.yml +++ b/ansible/roles/test/tasks/run_config_cleanup.yml @@ -2,6 +2,7 @@ - name: Do configuration cleanup. shell: systemctl restart swss register: clean_up + become: true - fail: msg="swssconfig - failed to cleanup the ACL configuration" when: clean_up.rc != 0