From 487d2d662540fa9bc2e04b86792589a2df775dbd Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 19 Dec 2017 14:42:58 +0100 Subject: [PATCH] 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 --- playbooks/manual/upgrade/fedmsg.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/manual/upgrade/fedmsg.yml b/playbooks/manual/upgrade/fedmsg.yml index ed91e0a2b1..29ce0b20e3 100644 --- a/playbooks/manual/upgrade/fedmsg.yml +++ b/playbooks/manual/upgrade/fedmsg.yml @@ -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