ideasonpurpose / basic-wordpress-vagrant

A fast, easy to use WordPress Vagrant environment modeled after managed WordPress hosting platforms like WP Engine and Flywheel.
MIT License
25 stars 3 forks source link

unsupported parameter for module: use_ssh_args #50

Closed jgraup closed 7 years ago

jgraup commented 7 years ago

I had a coworker recently try this project and on initial vagrant up there seems to be a failure when doing the Pull-sync.

TASK: [wordpress | Pull-sync fresh WordPress onto local site directory] ******* 
failed: [default -> 127.0.0.1] => {"failed": true}
msg: unsupported parameter for module: use_ssh_args

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/Users/myusername/main.retry

default                    : ok=9    changed=6    unreachable=0    failed=1   

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

Anything stand out as the culprit?

Name Version
Virtual Box 5.1.20 Virtual Machine
Vagrant 1.9.3
Ansible 1.9.1
Basic WP 0.3.6
joemaller commented 7 years ago

That's a very old version of Ansible. Update that and it should work.

Sidenote: Where did that copy of Ansible come from?

jgraup commented 7 years ago

Looks like it was an Ansible issue. I'm not sure where the original version came from but it should be up-to-date now.

got it working - the two additional steps were: because ansible was already installed, I had to run "brew unlink ansible" then to get latest: "brew install ansible@2.2"