zach-adams / hgv-deploy-full

This Ansible Playbook is designed to setup a Mercury-Like environment on a Production server without the configuration hassle.
103 stars 47 forks source link

ERROR: run_once is not a legal parameter in an Ansible task or handler #30

Closed wudong closed 8 years ago

wudong commented 8 years ago

following the step exactly but when run

sudo ansible-playbook -i hosts playbook.yml -c local

got error:

ERROR: run_once is not a legal parameter in an Ansible task or handler

cannot get any further.

wudong commented 8 years ago

seems i was on Ansible version 1.5. upgrade to 1.9 solve the problem.