aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/add_repos_jumphost/tasks/Debian.yml
diff options
context:
space:
mode:
authorJohn O Loughlin <john.oloughlin@intel.com>2018-05-03 14:19:29 +0100
committerJohn O'Loughlin <john.oloughlin@intel.com>2018-05-03 16:32:28 +0000
commit5db2f11d309d42cdf7cf177b86d31deb3fe58e37 (patch)
tree5d526986d42a448d411ef667ec74d683511f23ee /ansible/roles/add_repos_jumphost/tasks/Debian.yml
parenta114dc39f003beb1bb1ed12ed17fd3a6d0e7deaa (diff)
Fix ansible scripts for running in container
JIRA: YARDSTICK-1147 Change-Id: I52dae85a2d97192bc8a48c5aeea3173b3d4de003 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Diffstat (limited to 'ansible/roles/add_repos_jumphost/tasks/Debian.yml')
-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: