it seems pretty similar to https://github.com/ansible-collections/ansible.netcommon/issues/551 which is open
Getting the following error when enabling commit with or without confirm_commit:
false, "msg": "Argument must be bytes or unicode, got 'int'"}
I have seen bug reports on the same on previous ansible version 2.9 and 2.7 - we are on 2.13
it is the waiting time specified under "commit: 10" that fails
But also fails to identify "confirm_commit: true" or "confirm_commit: yes"
There is a fix to it, but not sure when it is going to be merge https://github.com/ansible-collections/ansible.netcommon/pull/670
I don't see a workaround for it, other than not using "confirm"