mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-05 09:22:16 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user