aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
authorJohn O Loughlin <john.oloughlin@intel.com>2018-05-03 14:19:29 +0100
committerRex Lee <limingjiang@huawei.com>2018-06-30 06:58:15 +0000
commit266baa2694e397e2a449ba15d08046ef5baeab9a (patch)
treef352fe4423819f0710a6cc7126e704d10b08d479 /ansible/roles
parentb07610535fc00ff02693942fca8b0a55995dc67e (diff)
Fix ansible scripts for running in container
JIRA: YARDSTICK-1147 Change-Id: I52dae85a2d97192bc8a48c5aeea3173b3d4de003 Signed-off-by: John O Loughlin <john.oloughlin@intel.com> (cherry picked from commit 5db2f11d309d42cdf7cf177b86d31deb3fe58e37)
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/add_repos_jumphost/tasks/Debian.yml3
1 files changed, 1 insertions, 2 deletions
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: