geerlingguy / drupal-vm

A VM for Drupal development
https://www.drupalvm.com/
MIT License
1.38k stars 644 forks source link

TASK [geerlingguy.drupal : Use project specific Drush if available.] failed #2172

Closed InMatrixIam closed 3 years ago

InMatrixIam commented 3 years ago

Issue Type

Your Environment

Vagrant 2.2.16
VirtualBox 6.1.22r144080
ansible [core 2.11.2] 
  config file = None
  configured module search path = ['/Users/hgrant/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/Cellar/ansible/4.1.0/libexec/lib/python3.9/site-packages/ansible
  ansible collection location = /Users/hgrant/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.9.5 (default, May  4 2021, 03:33:11) [Clang 12.0.0 (clang-1200.0.32.29)]
  jinja version = 3.0.1
  libyaml = True

Your OS

Full console output

https://gist.github.com/InMatrixIam/f6728ddbcf903321d8cdda7e62d9dd94

Summary

TASK [geerlingguy.drupal : Use project specific Drush if available.] *** fatal: [nidcr]: FAILED! => {"msg": "The conditional check 'drush_vendor_bin.stat.exists' failed. The error was: error while evaluating conditional (drush_vendor_bin.stat.exists): 'dict object' has no attribute 'stat'\n\nThe error appears to be in '/Users/hgrant/Documents/Drupal/nidcr/vendor/geerlingguy/drupal-vm/provisioning/roles/geerlingguy.drupal/tasks/main.yml': line 49, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Use project specific Drush if available.\n ^ here\n"}

PLAY RECAP ***** nidcr : ok=232 changed=91 unreachable=0 failed=1 skipped=307 rescued=0 ignored=3

Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.

InMatrixIam commented 3 years ago

Turns out this issue was solved by moving my local clone out of my "Documents" folder and into another folder.