Ansible: fix multiple shell commands 53/33253/2
authorJuraj Linkeš <juraj.linkes@pantheon.tech>
Mon, 26 Jul 2021 13:29:30 +0000 (15:29 +0200)
committerPeter Mikus <pmikus@cisco.com>
Mon, 26 Jul 2021 13:57:23 +0000 (13:57 +0000)
commit67d2e96f19c4f12f1e7bd27052f1bc177f060b71
tree64c24cdd5222eb644f7a133184bffac709df225b
parentd71805fb41303c4c4b5c709fe18004a0b946a033
Ansible: fix multiple shell commands

Ansible passes "&&" as arguments to the command being called, which
prevents us from using it for calling multiple commands in one ansible
task. Fix by replacing this with "with_items".

Change-Id: Ie07a1b1969bda9569cf82ef0741ec52260e2c736
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
fdio.infra.ansible/roles/intel/tasks/i40e.yaml
fdio.infra.ansible/roles/intel/tasks/iavf.yaml
fdio.infra.ansible/roles/intel/tasks/ice.yaml