ongr-io/development-environment

ERROR! the role 'base' was not found in /vagrant/roles:/etc/ansible/roles:/vagrant

Closed this issue · 0 comments

==> default: 0 upgraded, 0 newly installed, 0 to remove and 153 not upgraded.
==> default: [DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and 
==> default: make sure become_method is 'sudo' (default).
==> default: This feature will be removed in a 
==> default: future release. Deprecation warnings can be disabled by setting 
==> default: deprecation_warnings=False in ansible.cfg.
==> default: ERROR! the role 'base' was not found in /vagrant/roles:/etc/ansible/roles:/vagrant
==> default: 
==> default: The error appears to have been in '/vagrant/vagrant.yml': line 8, column 7, but may
==> default: be elsewhere in the file depending on the exact syntax problem.
==> default: 
==> default: The offending line appears to be:
==> default: 
==> default:   roles:
==> default:     - base
==> default:       ^ here
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Background: I removed ansible on my local machine, and tried the remote installation as defined in Vagrantfile:67

When using ansible on the guest it's complaining about missing roles. The nfs mount is fine, but it seems that it's using the wrong path.

  • vagrant ssh
  • cd /vagrant
  • ll
[...]
drwxr-xr-x  1 vagrant vagrant  102 Nov  3 09:29 .vagrant/
-rw-r--r--  1 vagrant vagrant 1069 Nov  3 09:29 LICENSE
-rw-r--r--  1 vagrant vagrant 2880 Nov  3 09:29 README.md
-rw-r--r--  1 vagrant vagrant 2343 Nov  3 09:53 Vagrantfile
drwxr-xr-x  1 vagrant vagrant  306 Nov  3 09:29 ansible/
-rw-r--r--  1 vagrant vagrant  150 Nov  3 09:29 ansible.cfg
-rw-r--r--  1 vagrant vagrant   45 Nov  3 09:29 inventory
drwxr-xr-x  1 vagrant vagrant   68 Nov  3 09:29 public/
[...]

I think it needs to look in /vagrant/ansible/roles :)