--- - name: Copy dnsmasq configuration command: > docker exec bifrost_deploy bash -c 'source /bifrost/env-vars && ansible -vvvv target -i /bifrost/playbooks/inventory/target -m copy -a "src=/etc/bifrost/dell-switch-bmp.conf dest=/etc/dnsmasq.d/dell-switch-bmp.conf" -e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python"' - name: Restart bifrost dnsmasq command: > docker exec bifrost_deploy bash -c 'source /bifrost/env-vars && ansible -vvvv target -i /bifrost/playbooks/inventory/target -m service -a "name=dnsmasq state=restarted" -e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python"' - name: Copy Dell switch BMP images command: > docker exec bifrost_deploy bash -c 'source /bifrost/env-vars && ansible -vvvv target -i /bifrost/playbooks/inventory/target -m copy -a "src=/etc/bifrost/{{ item.dest }} dest={{ dell_switch_bmp_httpboot_path }}/{{ item.dest }}" -e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python"' with_items: "{{ dell_switch_bmp_images }}"