I had the ansible_vault_password_file , so I hope when running the playbook, the password file will be found in the playbook/host_vars/ansible.yml encrypted file.
The error does occur when running the parameter on the command line:
ansible-playbook -i ./win.ini -vvvvv connection.yml --vault-password-file ~/windows_vault/host_vars/ansible.yml
I misunderstood the utility of the ansible_vaut_password_file parameter which is to point at the file containing the vault password and not the password to connect.
I will rewrite the host_vars and group_vars files