From 45dcd340e09684f083a7dd36ffd324afff4e7213 Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Tue, 27 Mar 2018 12:11:03 -0700 Subject: [PATCH] [fast-reboot test] fix syslog reading issue Explicitly specify that syslog task needs super user privillege. --- ansible/roles/test/tasks/fast-reboot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/test/tasks/fast-reboot.yml b/ansible/roles/test/tasks/fast-reboot.yml index 3db704a5087..fb881eb12cd 100644 --- a/ansible/roles/test/tasks/fast-reboot.yml +++ b/ansible/roles/test/tasks/fast-reboot.yml @@ -141,6 +141,7 @@ file_prefix: 'syslog' start_string: 'Initializing cgroup subsys cpuset' target_filename: '/tmp/syslog' + become: yes - name: Copy the exctracted syslog entries to the local machine fetch: