Hi,
I have tried to run molecule test for my Ansible role which contains
install iptable dependencies. If I set hosts: localhost in converge.yml it
is working fine. But if I give hosts: all throwing below error. I am using
docker driver with ubuntu 18.04 installed on it to run my test.
TASK [twmn.twmn.iptable : Install dependencies]
********************************
[WARNING]: Updating cache and auto-installing missing dependency:
python3-apt
fatal: [instance]: FAILED! => {"changed": false, "cmd": "apt-get update",
"msg": "[Errno 2] No such file or directory: b'apt-get': b'apt-get'", "rc":
2, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
Anyhelp will be appreciable.
Thanks
selvi
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/81c08414-b859-4bee-8d95-7932c7269880n%40googlegroups.com.