I have a Vagrantfile to provision an Ubuntu VM. After I do vagrant up
the script will eventually run into the below error. I tried searching for any answer and the best I could find was Ubuntu specific. I am attempting to run this Vagrantfile on Windows 10.
==> dev: Running provisioner: ansible_local...
dev: Installing Ansible...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
add-apt-repository ppa:ansible/ansible -y && apt-get update -y -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq ansible --option "Dpkg::Options::=--force-confold"
Stdout from the command:
Cannot add PPA: 'ppa:~ansible/ubuntu/ansible'.
ERROR: '~ansible' user or team does not exist.
Stderr from the command:
Here is the vagrant file I am trying to run: Vagrantfile
It may be a problem with a self signed company SSL cert. I am not sure how to work around that issue. I have updated the C:\HashiCorp\Vagrant\embedded\cacert.pem with the correct certs. It got further than before but is still failing.