we-bridge / vagrant-ansible-symfony

A template Vagrant Symfony2 project setup, supporting mixed Linux/OSX/Windows host environments
7 stars 5 forks source link

is there a minimun version of ansible required ? ERROR: apache2_module is not a legal parameter in an Ansible task or handle #1

Closed allan-simon closed 9 years ago

allan-simon commented 9 years ago

doing vagrant up with vagrant version 1.7.1 and ansible 1.5.4 (get from apt-get install ansible on a clean ubuntu 14.04) stop with the following error message

==> default: Running provisioner: ansible...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --private-key=/home/bst/git/smg_yicai/mms/.vagrant/machines/default/virtualbox/private_key --user=vagrant --connection=ssh --limit='default' --inventory-file=/home/bst/git/smg_yicai/mms/.vagrant/provisioners/ansible/inventory --extra-vars={"DBNAME":"symfony","DBUSER":"vagrant","DBPASSWORD":"vagrant"} -v provisioning/site.yml
ERROR: apache2_module is not a legal parameter in an Ansible task or handler
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
cbrunnkvist commented 9 years ago

(Yes - that was added in Ansible 1.6.x or something)