NCVotes / voters-ingestor

Django app to create and configure Postgres DB, then fetch and process public voter registration and voter history files from N.C. Board of Elections
MIT License
10 stars 1 forks source link

Update include_role syntax and add role to inventory #35

Closed vkurup closed 6 years ago

vkurup commented 6 years ago

Got this error when I tried to run the original version:

$ fab production deploy
[localhost] local: ansible-galaxy install -i -r deployment/requirements.yml
...
ERROR! 'name' is a required field for include_role.

Fatal error: local() encountered an error (return code 4) while executing 'ansible-playbook -u vkurup -i deployment/environments/production/inventory deployment/playbooks/site.yml'

Aborting.

After fixing that syntax, the role still didn't get run because we need to apply it to particular hosts in the inventory file.