From 266baa2694e397e2a449ba15d08046ef5baeab9a Mon Sep 17 00:00:00 2001 From: John O Loughlin Date: Thu, 3 May 2018 14:19:29 +0100 Subject: Fix ansible scripts for running in container JIRA: YARDSTICK-1147 Change-Id: I52dae85a2d97192bc8a48c5aeea3173b3d4de003 Signed-off-by: John O Loughlin (cherry picked from commit 5db2f11d309d42cdf7cf177b86d31deb3fe58e37) --- ansible/roles/add_repos_jumphost/tasks/Debian.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ansible/roles/add_repos_jumphost') diff --git a/ansible/roles/add_repos_jumphost/tasks/Debian.yml b/ansible/roles/add_repos_jumphost/tasks/Debian.yml index 0b67c6691..626f0b037 100644 --- a/ansible/roles/add_repos_jumphost/tasks/Debian.yml +++ b/ansible/roles/add_repos_jumphost/tasks/Debian.yml @@ -37,8 +37,7 @@ replace: "# deb-src " - name: Add extra architecture - apt: - dpkg_options: "add-architecture {{ extra_arch }}" + command: "dpkg --add-architecture {{ extra_arch }}" - name: Define the default release version copy: -- cgit 1.2.3-korg