Hi @Shant.
I think your git directory is broken (/usr/src/ominicontacto), but I don't know why because I don't know the commands you executed before.
Anyway, we can start over, cloning the repo again. So, please proceed as follows:
1) Perform a backup of your original repo, in case you have personal data there:
[root@CentOS7-Fresh ~]# cd /usr/src/
[root@CentOS7-Fresh src]# ls
debug kernels ominicontacto
[root@CentOS7-Fresh src]# mv ominicontacto/ ominicontacto.bkp.20210820
[root@CentOS7-Fresh src]# ls
debug kernels ominicontacto.bkp.20210820
2) Clone the repo again, on branch release-1.17.0, on the same directory (/usr/src):
[root@CentOS7-Fresh src]# pwd
/usr/src
[root@CentOS7-Fresh src]# git clone --recurse-submodules --branch release-1.17.0 https://gitlab.com/omnileads/ominicontacto.git
Cloning into 'ominicontacto'...
remote: Enumerating objects: 52995, done.
remote: Counting objects: 100% (9058/9058), done.
remote: Compressing objects: 100% (1494/1494), done.
remote: Total 52995 (delta 8532), reused 7684 (delta 7539), pack-reused 43937
Receiving objects: 100% (52995/52995), 100.32 MiB | 6.21 MiB/s, done.
Resolving deltas: 100% (37270/37270), done.
Submodule 'modules/asterisk' (https://gitlab.com/omnileads/omlacd.git) registered for path 'modules/asterisk'
Submodule 'modules/kamailio' (https://gitlab.com/omnileads/omlkamailio.git) registered for path 'modules/kamailio'
Submodule 'modules/nginx' (https://gitlab.com/omnileads/omlnginx.git) registered for path 'modules/nginx'
Submodule 'modules/postgresql' (https://gitlab.com/omnileads/omlpgsql.git) registered for path 'modules/postgresql'
Submodule 'modules/redis' (https://gitlab.com/omnileads/omlredis.git) registered for path 'modules/redis'
Submodule 'modules/rtpengine' (https://gitlab.com/omnileads/omlrtpengine.git) registered for path 'modules/rtpengine'
Submodule 'modules/websockets' (https://gitlab.com/omnileads/omnileads-websockets.git) registered for path 'modules/websockets'
...
...
...
3) And finally, start over with upgrade process:
[root@CentOS7-Fresh src]# cd ominicontacto
[root@CentOS7-Fresh ominicontacto]# git status
# On branch release-1.17.0
nothing to commit, working directory clean
[root@CentOS7-Fresh ominicontacto]# git submodule init
[root@CentOS7-Fresh ominicontacto]# git submodule update --remote
Submodule path 'modules/asterisk': checked out '67d726c6f83849dd40d2323494285f1f0763d87a'
Submodule path 'modules/kamailio': checked out '0617e16b13c35c4eb396510b79d0c6e4188e2355'
Submodule path 'modules/nginx': checked out '59057548651cf6b25d0e3614c0088cf15b90a917'
Submodule path 'modules/postgresql': checked out '1d0e3d511d1551273846be07f599549f6f2d340f'
Submodule path 'modules/redis': checked out '0d8f3296b405bcab4c865db2931fc2b56f55c3bd'
Submodule path 'modules/rtpengine': checked out '62ff79e4f44c474f79026131af10097bb65b6362'
Submodule path 'modules/websockets': checked out 'b6e83f37d164e39ca003528c8abf80d4f53facd0'
4) Edit the inventory file, and execute the deploy.sh script:
[root@CentOS7-Fresh ominicontacto]# cd install/onpremise/deploy/ansible/
[root@CentOS7-Fresh ansible]# vim inventory
[root@CentOS7-Fresh ansible]# ./deploy.sh -u --iface=ens192
Let me know the results.
Best regards.