From 548356e86cd52bdbe7c05ae2ee8177e5ade4bee9 Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Tue, 16 Jun 2020 16:17:45 -0500 Subject: [PATCH] Update keyword to become instead of sudo Zuul updated ansible to 2.9 and broke one of the playbooks that had the old sudo keyword, which is no longer valid in 2.9. This change updates the offending file to use "become" instead, which is the valid keyword instead of sudo. Change-Id: I2057de7470d65a60c4c984cb99d0715c9d43b3a8 --- roles/upgrade-host/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/upgrade-host/tasks/main.yaml b/roles/upgrade-host/tasks/main.yaml index d3cbd0112..0afb37385 100644 --- a/roles/upgrade-host/tasks/main.yaml +++ b/roles/upgrade-host/tasks/main.yaml @@ -26,7 +26,7 @@ - linux-generic-hwe-16.04 - name: Reboot Host following kernel upgrade shell: sleep 2 && reboot - sudo: yes + become: yes async: 30 poll: 0 ignore_errors: true