Move back to include_tasks

Commit afef097a3d changed from include_tasks to import_tasks but running
this playbook we run into error:
1/ just running it we got:
  ERROR! 'import_tasks' is not a valid attribute for a Play
so we indented the line to put it in the task list, but that
lead to another error:
2/ exception: this task 'user' has extra params
So let's move back to include_tasks and see if that helps

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2017-12-19 14:42:58 +01:00
parent eea3829754
commit 487d2d6625

View file

@ -48,8 +48,8 @@
when: testing
with_items: "{{packages}}"
# Restart all the backend daemons
- import_tasks: ../restart-fedmsg-services.yml
# Restart all the backend daemons
- include_tasks: ../restart-fedmsg-services.yml
# Also restart the frontend web services
- name: bounce apache