geerlingguy/ansible-vagrant-examples

awx: The following settings shouldn't exist

jpmens opened this issue · 2 comments

Launching awx Vagrant file on OS/X, I get the following error:

Bringing machine 'awx' up with 'virtualbox' provider...
==> awx: Box 'geerlingguy/centos7' could not be found. Attempting to find and install...
    awx: Box Provider: virtualbox
    awx: Box Version: >= 0
==> awx: Loading metadata for box 'geerlingguy/centos7'
    awx: URL: https://atlas.hashicorp.com/geerlingguy/centos7
==> awx: Adding box 'geerlingguy/centos7' (v1.2.3) for provider: virtualbox
    awx: Downloading: https://vagrantcloud.com/geerlingguy/boxes/centos7/versions/1.2.3/providers/virtualbox.box
==> awx: Successfully added box 'geerlingguy/centos7' (v1.2.3) for 'virtualbox'!
There are errors in the configuration of this machine. Please fix
the following errors and try again:

ansible remote provisioner:
* The following settings shouldn't exist: become

I removed ansible.become from the Vagrantfile. (This is possibly/probably due to my Vagrant being quite old (Installed Version: 1.8.6)

It appears to work fine, because the provisioning playbook uses become.

I'm closing this b/c there's probably not a second person on the planet using such an old version of Vagrant. :)

@jpmens Just hit the same problem, seems that you need the latest version at the time of this writing which is 2.0.0 released 07 SEP 2017